public static final class UpdateAttributeRequest.Builder extends GeneratedMessageV3.Builder<UpdateAttributeRequest.Builder> implements UpdateAttributeRequestOrBuilder
The UpdateAttribute method's
request.
Protobuf type google.cloud.apihub.v1.UpdateAttributeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttributeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateAttributeRequest build()
buildPartial()
public UpdateAttributeRequest buildPartial()
clear()
public UpdateAttributeRequest.Builder clear()
Overrides
clearAttribute()
public UpdateAttributeRequest.Builder clearAttribute()
Required. The attribute to update.
The attribute's name
field is used to identify the attribute to update.
Format:
projects/{project}/locations/{location}/attributes/{attribute}
.google.cloud.apihub.v1.Attribute attribute = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateAttributeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAttributeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateAttributeRequest.Builder clearUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateAttributeRequest.Builder clone()
Overrides
getAttribute()
public Attribute getAttribute()
Required. The attribute to update.
The attribute's name
field is used to identify the attribute to update.
Format:
projects/{project}/locations/{location}/attributes/{attribute}
.google.cloud.apihub.v1.Attribute attribute = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Attribute |
The attribute.
|
getAttributeBuilder()
public Attribute.Builder getAttributeBuilder()
Required. The attribute to update.
The attribute's name
field is used to identify the attribute to update.
Format:
projects/{project}/locations/{location}/attributes/{attribute}
.google.cloud.apihub.v1.Attribute attribute = 1 [(.google.api.field_behavior) = REQUIRED];
getAttributeOrBuilder()
public AttributeOrBuilder getAttributeOrBuilder()
Required. The attribute to update.
The attribute's name
field is used to identify the attribute to update.
Format:
projects/{project}/locations/{location}/attributes/{attribute}
.google.cloud.apihub.v1.Attribute attribute = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateAttributeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasAttribute()
public boolean hasAttribute()
Required. The attribute to update.
The attribute's name
field is used to identify the attribute to update.
Format:
projects/{project}/locations/{location}/attributes/{attribute}
.google.cloud.apihub.v1.Attribute attribute = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the attribute field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAttribute(Attribute value)
public UpdateAttributeRequest.Builder mergeAttribute(Attribute value)
Required. The attribute to update.
The attribute's name
field is used to identify the attribute to update.
Format:
projects/{project}/locations/{location}/attributes/{attribute}
.google.cloud.apihub.v1.Attribute attribute = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateAttributeRequest other)
public UpdateAttributeRequest.Builder mergeFrom(UpdateAttributeRequest other)
public UpdateAttributeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateAttributeRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttributeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateAttributeRequest.Builder mergeUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setAttribute(Attribute value)
public UpdateAttributeRequest.Builder setAttribute(Attribute value)
Required. The attribute to update.
The attribute's name
field is used to identify the attribute to update.
Format:
projects/{project}/locations/{location}/attributes/{attribute}
.google.cloud.apihub.v1.Attribute attribute = 1 [(.google.api.field_behavior) = REQUIRED];
setAttribute(Attribute.Builder builderForValue)
public UpdateAttributeRequest.Builder setAttribute(Attribute.Builder builderForValue)
Required. The attribute to update.
The attribute's name
field is used to identify the attribute to update.
Format:
projects/{project}/locations/{location}/attributes/{attribute}
.google.cloud.apihub.v1.Attribute attribute = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAttributeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAttributeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAttributeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateAttributeRequest.Builder setUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAttributeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|