public static final class CreateComponentRequest.Builder extends GeneratedMessage.Builder<CreateComponentRequest.Builder> implements CreateComponentRequestOrBuilderMessage for creating a component.
Protobuf type google.cloud.designcenter.v1.CreateComponentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateComponentRequest.BuilderImplements
CreateComponentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateComponentRequest build()| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest |
|
buildPartial()
public CreateComponentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest |
|
clear()
public CreateComponentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
|
clearComponent()
public CreateComponentRequest.Builder clearComponent()Required. The component to create.
.google.cloud.designcenter.v1.Component component = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
|
clearComponentId()
public CreateComponentRequest.Builder clearComponentId()Required. The ID of the component to create.
string component_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
This builder for chaining. |
clearParent()
public CreateComponentRequest.Builder clearParent()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 |
CreateComponentRequest.Builder |
This builder for chaining. |
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. |
getComponentBuilder()
public Component.Builder getComponentBuilder()Required. The component to create.
.google.cloud.designcenter.v1.Component component = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Component.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeComponent(Component value)
public CreateComponentRequest.Builder mergeComponent(Component value)Required. The component to create.
.google.cloud.designcenter.v1.Component component = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Component |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
|
mergeFrom(CreateComponentRequest other)
public CreateComponentRequest.Builder mergeFrom(CreateComponentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateComponentRequest |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateComponentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateComponentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
|
setComponent(Component value)
public CreateComponentRequest.Builder setComponent(Component value)Required. The component to create.
.google.cloud.designcenter.v1.Component component = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Component |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
|
setComponent(Component.Builder builderForValue)
public CreateComponentRequest.Builder setComponent(Component.Builder builderForValue)Required. The component to create.
.google.cloud.designcenter.v1.Component component = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Component.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
|
setComponentId(String value)
public CreateComponentRequest.Builder setComponentId(String value)Required. The ID of the component to create.
string component_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe componentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
This builder for chaining. |
setComponentIdBytes(ByteString value)
public CreateComponentRequest.Builder setComponentIdBytes(ByteString value)Required. The ID of the component to create.
string component_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for componentId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateComponentRequest.Builder setParent(String value)Required. The parent resource in which to create the component.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateComponentRequest.Builder setParentBytes(ByteString value)Required. The parent resource in which to create the component.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateComponentRequest.Builder |
This builder for chaining. |