Class UpdateChannelPartnerLinkRequest (3.7.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateChannelPartnerLinkRequest getDefaultInstance()
Returns
TypeDescription
UpdateChannelPartnerLinkRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateChannelPartnerLinkRequest.Builder newBuilder()
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

newBuilder(UpdateChannelPartnerLinkRequest prototype)

public static UpdateChannelPartnerLinkRequest.Builder newBuilder(UpdateChannelPartnerLinkRequest prototype)
Parameter
NameDescription
prototypeUpdateChannelPartnerLinkRequest
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateChannelPartnerLinkRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateChannelPartnerLinkRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateChannelPartnerLinkRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateChannelPartnerLinkRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateChannelPartnerLinkRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateChannelPartnerLinkRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateChannelPartnerLinkRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateChannelPartnerLinkRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateChannelPartnerLinkRequest> parser()
Returns
TypeDescription
Parser<UpdateChannelPartnerLinkRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ChannelPartnerLinkOrBuilder

getDefaultInstanceForType()

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

getParserForType()

public Parser<UpdateChannelPartnerLinkRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateChannelPartnerLinkRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateChannelPartnerLinkRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateChannelPartnerLinkRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateChannelPartnerLinkRequest.Builder toBuilder()
Returns
TypeDescription
UpdateChannelPartnerLinkRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException