public static final class UpdateComponentRequest.Builder extends GeneratedMessage.Builder<UpdateComponentRequest.Builder> implements UpdateComponentRequestOrBuilderMessage for updating a component.
Protobuf type google.cloud.designcenter.v1.UpdateComponentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateComponentRequest.BuilderImplements
UpdateComponentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateComponentRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest |
|
buildPartial()
public UpdateComponentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest |
|
clear()
public UpdateComponentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
clearComponent()
public UpdateComponentRequest.Builder clearComponent()Required. The component to update.
.google.cloud.designcenter.v1.Component component = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
clearUpdateMask()
public UpdateComponentRequest.Builder clearUpdateMask()Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
getComponent()
public Component getComponent()Required. The component to update.
.google.cloud.designcenter.v1.Component component = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Component |
The component. |
getComponentBuilder()
public Component.Builder getComponentBuilder()Required. The component to update.
.google.cloud.designcenter.v1.Component component = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Component.Builder |
|
getComponentOrBuilder()
public ComponentOrBuilder getComponentOrBuilder()Required. The component to update.
.google.cloud.designcenter.v1.Component component = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComponentOrBuilder |
|
getDefaultInstanceForType()
public UpdateComponentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasComponent()
public boolean hasComponent()Required. The component to update.
.google.cloud.designcenter.v1.Component component = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the component field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask 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 UpdateComponentRequest.Builder mergeComponent(Component value)Required. The component to update.
.google.cloud.designcenter.v1.Component component = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Component |
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
mergeFrom(UpdateComponentRequest other)
public UpdateComponentRequest.Builder mergeFrom(UpdateComponentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateComponentRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateComponentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateComponentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateComponentRequest.Builder mergeUpdateMask(FieldMask value)Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
setComponent(Component value)
public UpdateComponentRequest.Builder setComponent(Component value)Required. The component to update.
.google.cloud.designcenter.v1.Component component = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Component |
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
setComponent(Component.Builder builderForValue)
public UpdateComponentRequest.Builder setComponent(Component.Builder builderForValue)Required. The component to update.
.google.cloud.designcenter.v1.Component component = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Component.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateComponentRequest.Builder setUpdateMask(FieldMask value)Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateComponentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateComponentRequest.Builder |
|