public final class UpdateChannelPartnerLinkRequest extends GeneratedMessageV3 implements UpdateChannelPartnerLinkRequestOrBuilder
Request message for CloudChannelService.UpdateChannelPartnerLink
Protobuf type google.cloud.channel.v1.UpdateChannelPartnerLinkRequest
Static Fields
CHANNEL_PARTNER_LINK_FIELD_NUMBER
public static final int CHANNEL_PARTNER_LINK_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateChannelPartnerLinkRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateChannelPartnerLinkRequest.Builder newBuilder()
Returns
newBuilder(UpdateChannelPartnerLinkRequest prototype)
public static UpdateChannelPartnerLinkRequest.Builder newBuilder(UpdateChannelPartnerLinkRequest prototype)
Parameter
Returns
public static UpdateChannelPartnerLinkRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateChannelPartnerLinkRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateChannelPartnerLinkRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateChannelPartnerLinkRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateChannelPartnerLinkRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateChannelPartnerLinkRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateChannelPartnerLinkRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateChannelPartnerLinkRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateChannelPartnerLinkRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateChannelPartnerLinkRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateChannelPartnerLinkRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateChannelPartnerLinkRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateChannelPartnerLinkRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
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
getParserForType()
public Parser<UpdateChannelPartnerLinkRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateChannelPartnerLinkRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateChannelPartnerLinkRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateChannelPartnerLinkRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions