Class CreateComponentRequest (0.3.0)

public final class CreateComponentRequest extends GeneratedMessage implements CreateComponentRequestOrBuilder

Message for creating a component.

Protobuf type google.cloud.designcenter.v1.CreateComponentRequest

Static Fields

COMPONENT_FIELD_NUMBER

public static final int COMPONENT_FIELD_NUMBER
Field Value
Type Description
int

COMPONENT_ID_FIELD_NUMBER

public static final int COMPONENT_ID_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateComponentRequest getDefaultInstance()
Returns
Type Description
CreateComponentRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateComponentRequest.Builder newBuilder()
Returns
Type Description
CreateComponentRequest.Builder

newBuilder(CreateComponentRequest prototype)

public static CreateComponentRequest.Builder newBuilder(CreateComponentRequest prototype)
Parameter
Name Description
prototype CreateComponentRequest
Returns
Type Description
CreateComponentRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateComponentRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateComponentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateComponentRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateComponentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateComponentRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateComponentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateComponentRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateComponentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateComponentRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateComponentRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateComponentRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateComponentRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateComponentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateComponentRequest> parser()
Returns
Type Description
Parser<CreateComponentRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getComponent()

public Component getComponent()

Required. The component to create.

.google.cloud.designcenter.v1.Component component = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Component

The component.

getComponentId()

public String getComponentId()

Required. The ID of the component to create.

string component_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The componentId.

getComponentIdBytes()

public ByteString getComponentIdBytes()

Required. The ID of the component to create.

string component_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for componentId.

getComponentOrBuilder()

public ComponentOrBuilder getComponentOrBuilder()

Required. The component to create.

.google.cloud.designcenter.v1.Component component = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ComponentOrBuilder

getDefaultInstanceForType()

public CreateComponentRequest getDefaultInstanceForType()
Returns
Type Description
CreateComponentRequest

getParent()

public String getParent()

Required. The parent resource in which to create the component.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource in which to create the component.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateComponentRequest> getParserForType()
Returns
Type Description
Parser<CreateComponentRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasComponent()

public boolean hasComponent()

Required. The component to create.

.google.cloud.designcenter.v1.Component component = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the component field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateComponentRequest.Builder newBuilderForType()
Returns
Type Description
CreateComponentRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CreateComponentRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateComponentRequest.Builder
Overrides

toBuilder()

public CreateComponentRequest.Builder toBuilder()
Returns
Type Description
CreateComponentRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException