Class UpdateChannelPartnerLinkRequest.Builder (3.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateChannelPartnerLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder
Overrides

build()

public UpdateChannelPartnerLinkRequest build()
Returns
TypeDescription
UpdateChannelPartnerLinkRequest

buildPartial()

public UpdateChannelPartnerLinkRequest buildPartial()
Returns
TypeDescription
UpdateChannelPartnerLinkRequest

clear()

public UpdateChannelPartnerLinkRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateChannelPartnerLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateChannelPartnerLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

clone()

public UpdateChannelPartnerLinkRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ChannelPartnerLinkOrBuilder

getDefaultInstanceForType()

public UpdateChannelPartnerLinkRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateChannelPartnerLinkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueChannelPartnerLink
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

mergeFrom(UpdateChannelPartnerLinkRequest other)

public UpdateChannelPartnerLinkRequest.Builder mergeFrom(UpdateChannelPartnerLinkRequest other)
Parameter
NameDescription
otherUpdateChannelPartnerLinkRequest
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateChannelPartnerLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateChannelPartnerLinkRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateChannelPartnerLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueChannelPartnerLink
Returns
TypeDescription
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
NameDescription
builderForValueChannelPartnerLink.Builder
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateChannelPartnerLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateChannelPartnerLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder