Class UpdateChannelPartnerLinkRequest.Builder (3.58.0)

public static final class UpdateChannelPartnerLinkRequest.Builder extends GeneratedMessageV3.Builder<UpdateChannelPartnerLinkRequest.Builder> implements UpdateChannelPartnerLinkRequestOrBuilder

Request message for CloudChannelService.UpdateChannelPartnerLink

Protobuf type google.cloud.channel.v1.UpdateChannelPartnerLinkRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateChannelPartnerLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides

build()

public UpdateChannelPartnerLinkRequest build()
Returns
Type Description
UpdateChannelPartnerLinkRequest

buildPartial()

public UpdateChannelPartnerLinkRequest buildPartial()
Returns
Type Description
UpdateChannelPartnerLinkRequest

clear()

public UpdateChannelPartnerLinkRequest.Builder clear()
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides
public UpdateChannelPartnerLinkRequest.Builder clearChannelPartnerLink()

Required. The channel partner link to update. Only channel_partner_link.link_state is allowed for updates.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateChannelPartnerLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides

clearName()

public UpdateChannelPartnerLinkRequest.Builder clearName()

Required. The resource name of the channel partner link to cancel. Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} where {id} is the Cloud Identity ID of the partner.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateChannelPartnerLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides

clearUpdateMask()

public UpdateChannelPartnerLinkRequest.Builder clearUpdateMask()

Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

clone()

public UpdateChannelPartnerLinkRequest.Builder clone()
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides
public ChannelPartnerLink getChannelPartnerLink()

Required. The channel partner link to update. Only channel_partner_link.link_state is allowed for updates.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerLink

The channelPartnerLink.

getChannelPartnerLinkBuilder()

public ChannelPartnerLink.Builder getChannelPartnerLinkBuilder()

Required. The channel partner link to update. Only channel_partner_link.link_state is allowed for updates.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerLink.Builder

getChannelPartnerLinkOrBuilder()

public ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder()

Required. The channel partner link to update. Only channel_partner_link.link_state is allowed for updates.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerLinkOrBuilder

getDefaultInstanceForType()

public UpdateChannelPartnerLinkRequest getDefaultInstanceForType()
Returns
Type Description
UpdateChannelPartnerLinkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the channel partner link to cancel. Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} where {id} is the Cloud Identity ID of the partner.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the channel partner link to cancel. Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} where {id} is the Cloud Identity ID of the partner.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder
public boolean hasChannelPartnerLink()

Required. The channel partner link to update. Only channel_partner_link.link_state is allowed for updates.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the channelPartnerLink field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public UpdateChannelPartnerLinkRequest.Builder mergeChannelPartnerLink(ChannelPartnerLink value)

Required. The channel partner link to update. Only channel_partner_link.link_state is allowed for updates.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ChannelPartnerLink
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

mergeFrom(UpdateChannelPartnerLinkRequest other)

public UpdateChannelPartnerLinkRequest.Builder mergeFrom(UpdateChannelPartnerLinkRequest other)
Parameter
Name Description
other UpdateChannelPartnerLinkRequest
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateChannelPartnerLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateChannelPartnerLinkRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateChannelPartnerLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateChannelPartnerLinkRequest.Builder mergeUpdateMask(FieldMask value)

Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
public UpdateChannelPartnerLinkRequest.Builder setChannelPartnerLink(ChannelPartnerLink value)

Required. The channel partner link to update. Only channel_partner_link.link_state is allowed for updates.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ChannelPartnerLink
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
public UpdateChannelPartnerLinkRequest.Builder setChannelPartnerLink(ChannelPartnerLink.Builder builderForValue)

Required. The channel partner link to update. Only channel_partner_link.link_state is allowed for updates.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ChannelPartnerLink.Builder
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateChannelPartnerLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides

setName(String value)

public UpdateChannelPartnerLinkRequest.Builder setName(String value)

Required. The resource name of the channel partner link to cancel. Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} where {id} is the Cloud Identity ID of the partner.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateChannelPartnerLinkRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the channel partner link to cancel. Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} where {id} is the Cloud Identity ID of the partner.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

This builder for chaining.

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

public UpdateChannelPartnerLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateChannelPartnerLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateChannelPartnerLinkRequest.Builder setUpdateMask(FieldMask value)

Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateChannelPartnerLinkRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder