Class UpdateInstanceRequest.Builder (1.9.0)

publicstaticfinalclass UpdateInstanceRequest.BuilderextendsGeneratedMessageV3.Builder<UpdateInstanceRequest.Builder>implementsUpdateInstanceRequestOrBuilder

Request message for updating a Data Fusion instance. Data Fusion only allows updating the labels, options, and stack driver settings.

Protobuf type google.cloud.datafusion.v1beta1.UpdateInstanceRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicUpdateInstanceRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicUpdateInstanceRequestbuild()
Returns
Type Description

buildPartial()

publicUpdateInstanceRequestbuildPartial()
Returns
Type Description

clear()

publicUpdateInstanceRequest.Builderclear()
Returns
Type Description
Overrides

clearField(Descriptors.FieldDescriptor field)

publicUpdateInstanceRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearInstance()

publicUpdateInstanceRequest.BuilderclearInstance()

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

.google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

clearOneof(Descriptors.OneofDescriptor oneof)

publicUpdateInstanceRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearUpdateMask()

publicUpdateInstanceRequest.BuilderclearUpdateMask()

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description

clone()

publicUpdateInstanceRequest.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicUpdateInstanceRequestgetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getInstance()

publicInstancegetInstance()

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

.google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance

The instance.

getInstanceBuilder()

publicInstance.BuildergetInstanceBuilder()

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

.google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

getInstanceOrBuilder()

publicInstanceOrBuildergetInstanceOrBuilder()

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

.google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

getUpdateMask()

publicFieldMaskgetUpdateMask()

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

publicFieldMask.BuildergetUpdateMaskBuilder()

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description

getUpdateMaskOrBuilder()

publicFieldMaskOrBuildergetUpdateMaskOrBuilder()

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description

hasInstance()

publicbooleanhasInstance()

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

.google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasUpdateMask()

publicbooleanhasUpdateMask()

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(UpdateInstanceRequest other)

publicUpdateInstanceRequest.BuildermergeFrom(UpdateInstanceRequestother)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicUpdateInstanceRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicUpdateInstanceRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeInstance(Instance value)

publicUpdateInstanceRequest.BuildermergeInstance(Instancevalue)

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

.google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Instance
Returns
Type Description

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateInstanceRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

mergeUpdateMask(FieldMask value)

publicUpdateInstanceRequest.BuildermergeUpdateMask(FieldMaskvalue)

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description

setField(Descriptors.FieldDescriptor field, Object value)

publicUpdateInstanceRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setInstance(Instance value)

publicUpdateInstanceRequest.BuildersetInstance(Instancevalue)

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

.google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Instance
Returns
Type Description

setInstance(Instance.Builder builderForValue)

publicUpdateInstanceRequest.BuildersetInstance(Instance.BuilderbuilderForValue)

Required. The instance resource that replaces the resource on the server. Currently, Data Fusion only allows replacing labels, options, and stack driver settings. All other fields will be ignored.

.google.cloud.datafusion.v1beta1.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Instance.Builder
Returns
Type Description

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicUpdateInstanceRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateInstanceRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setUpdateMask(FieldMask value)

publicUpdateInstanceRequest.BuildersetUpdateMask(FieldMaskvalue)

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description

setUpdateMask(FieldMask.Builder builderForValue)

publicUpdateInstanceRequest.BuildersetUpdateMask(FieldMask.BuilderbuilderForValue)

Field mask is used to specify the fields that the update will overwrite in an instance resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask, all the supported fields (labels and options currently) will be overwritten.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.