Class UpdateChannelPartnerLinkRequest (3.57.0)

public final class UpdateChannelPartnerLinkRequest extends GeneratedMessageV3 implements UpdateChannelPartnerLinkRequestOrBuilder

Request message for CloudChannelService.UpdateChannelPartnerLink

Protobuf type google.cloud.channel.v1.UpdateChannelPartnerLinkRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateChannelPartnerLinkRequest

Static Fields

public static final int CHANNEL_PARTNER_LINK_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateChannelPartnerLinkRequest getDefaultInstance()
Returns
Type Description
UpdateChannelPartnerLinkRequest

getDescriptor()

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

newBuilder()

public static UpdateChannelPartnerLinkRequest.Builder newBuilder()
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

newBuilder(UpdateChannelPartnerLinkRequest prototype)

public static UpdateChannelPartnerLinkRequest.Builder newBuilder(UpdateChannelPartnerLinkRequest prototype)
Parameter
Name Description
prototype UpdateChannelPartnerLinkRequest
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateChannelPartnerLinkRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateChannelPartnerLinkRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateChannelPartnerLinkRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateChannelPartnerLinkRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateChannelPartnerLinkRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateChannelPartnerLinkRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateChannelPartnerLinkRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateChannelPartnerLinkRequest> parser()
Returns
Type Description
Parser<UpdateChannelPartnerLinkRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

getParserForType()

public Parser<UpdateChannelPartnerLinkRequest> getParserForType()
Returns
Type Description
Parser<UpdateChannelPartnerLinkRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
FieldMask

The updateMask.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateChannelPartnerLinkRequest.Builder newBuilderForType()
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateChannelPartnerLinkRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateChannelPartnerLinkRequest.Builder toBuilder()
Returns
Type Description
UpdateChannelPartnerLinkRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException