public static final class UpdateAttributeRequest.Builder extends GeneratedMessage.Builder<UpdateAttributeRequest.Builder> implements UpdateAttributeRequestOrBuilderThe UpdateAttribute method's request.
Protobuf type google.cloud.apihub.v1.UpdateAttributeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateAttributeRequest.BuilderImplements
UpdateAttributeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateAttributeRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest |
|
buildPartial()
public UpdateAttributeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest |
|
clear()
public UpdateAttributeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
clearUpdateMask()
public UpdateAttributeRequest.Builder clearUpdateMask()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
Attribute.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AttributeOrBuilder |
|
getDefaultInstanceForType()
public UpdateAttributeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
mergeFrom(UpdateAttributeRequest other)
public UpdateAttributeRequest.Builder mergeFrom(UpdateAttributeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateAttributeRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAttributeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateAttributeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Attribute.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
UpdateAttributeRequest.Builder |
|