public static final class UpdateLinkRequest.Builder extends GeneratedMessage.Builder<UpdateLinkRequest.Builder> implements UpdateLinkRequestOrBuilderRequest for updating a link.
Protobuf type google.cloud.observability.v1.UpdateLinkRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateLinkRequest.BuilderImplements
UpdateLinkRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateLinkRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest |
|
buildPartial()
public UpdateLinkRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest |
|
clear()
public UpdateLinkRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
clearLink()
public UpdateLinkRequest.Builder clearLink()Required. Link to update.
The name field of link identifies the resource to update.
.google.cloud.observability.v1.Link link = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
clearUpdateMask()
public UpdateLinkRequest.Builder clearUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
getDefaultInstanceForType()
public UpdateLinkRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLink()
public Link getLink()Required. Link to update.
The name field of link identifies the resource to update.
.google.cloud.observability.v1.Link link = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Link |
The link. |
getLinkBuilder()
public Link.Builder getLinkBuilder()Required. Link to update.
The name field of link identifies the resource to update.
.google.cloud.observability.v1.Link link = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Link.Builder |
|
getLinkOrBuilder()
public LinkOrBuilder getLinkOrBuilder()Required. Link to update.
The name field of link identifies the resource to update.
.google.cloud.observability.v1.Link link = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LinkOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasLink()
public boolean hasLink()Required. Link to update.
The name field of link identifies the resource to update.
.google.cloud.observability.v1.Link link = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the link field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.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 |
|
mergeFrom(UpdateLinkRequest other)
public UpdateLinkRequest.Builder mergeFrom(UpdateLinkRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateLinkRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateLinkRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
mergeLink(Link value)
public UpdateLinkRequest.Builder mergeLink(Link value)Required. Link to update.
The name field of link identifies the resource to update.
.google.cloud.observability.v1.Link link = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Link |
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateLinkRequest.Builder mergeUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
setLink(Link value)
public UpdateLinkRequest.Builder setLink(Link value)Required. Link to update.
The name field of link identifies the resource to update.
.google.cloud.observability.v1.Link link = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Link |
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
setLink(Link.Builder builderForValue)
public UpdateLinkRequest.Builder setLink(Link.Builder builderForValue)Required. Link to update.
The name field of link identifies the resource to update.
.google.cloud.observability.v1.Link link = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Link.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateLinkRequest.Builder setUpdateMask(FieldMask value)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateLinkRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateLinkRequest.Builder |
|