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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateChannelPartnerLinkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateChannelPartnerLinkRequest build()
buildPartial()
public UpdateChannelPartnerLinkRequest buildPartial()
clear()
public UpdateChannelPartnerLinkRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateChannelPartnerLinkRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateChannelPartnerLinkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateChannelPartnerLinkRequest.Builder clone()
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];
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];
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];
getDefaultInstanceForType()
public UpdateChannelPartnerLinkRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateChannelPartnerLinkRequest other)
public UpdateChannelPartnerLinkRequest.Builder mergeFrom(UpdateChannelPartnerLinkRequest other)
public UpdateChannelPartnerLinkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateChannelPartnerLinkRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateChannelPartnerLinkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateChannelPartnerLinkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateChannelPartnerLinkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateChannelPartnerLinkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|