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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateChannelPartnerLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateChannelPartnerLinkRequest build()
Returns
buildPartial()
public UpdateChannelPartnerLinkRequest buildPartial()
Returns
clear()
public UpdateChannelPartnerLinkRequest.Builder clear()
Returns
Overrides
clearChannelPartnerLink()
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
clearField(Descriptors.FieldDescriptor field)
public UpdateChannelPartnerLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateChannelPartnerLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateChannelPartnerLinkRequest.Builder clone()
Returns
Overrides
getChannelPartnerLink()
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
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
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
getDefaultInstanceForType()
public UpdateChannelPartnerLinkRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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
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
hasChannelPartnerLink()
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeChannelPartnerLink(ChannelPartnerLink value)
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
Returns
mergeFrom(UpdateChannelPartnerLinkRequest other)
public UpdateChannelPartnerLinkRequest.Builder mergeFrom(UpdateChannelPartnerLinkRequest other)
Parameter
Returns
public UpdateChannelPartnerLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateChannelPartnerLinkRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateChannelPartnerLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setChannelPartnerLink(ChannelPartnerLink value)
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
Returns
setChannelPartnerLink(ChannelPartnerLink.Builder builderForValue)
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateChannelPartnerLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateChannelPartnerLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateChannelPartnerLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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