Class GetChannelPartnerLinkRequest (3.33.0)

public final class GetChannelPartnerLinkRequest extends GeneratedMessageV3 implements GetChannelPartnerLinkRequestOrBuilder

Request message for CloudChannelService.GetChannelPartnerLink.

Protobuf type google.cloud.channel.v1.GetChannelPartnerLinkRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VIEW_FIELD_NUMBER

public static final int VIEW_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetChannelPartnerLinkRequest getDefaultInstance()
Returns
TypeDescription
GetChannelPartnerLinkRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetChannelPartnerLinkRequest prototype)

public static GetChannelPartnerLinkRequest.Builder newBuilder(GetChannelPartnerLinkRequest prototype)
Parameter
NameDescription
prototypeGetChannelPartnerLinkRequest
Returns
TypeDescription
GetChannelPartnerLinkRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GetChannelPartnerLinkRequest getDefaultInstanceForType()
Returns
TypeDescription
GetChannelPartnerLinkRequest

getName()

public String getName()

Required. The resource name of the channel partner link to retrieve. 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 retrieve. 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<GetChannelPartnerLinkRequest> getParserForType()
Returns
TypeDescription
Parser<GetChannelPartnerLinkRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getView()

public ChannelPartnerLinkView getView()

Optional. The level of granularity the ChannelPartnerLink will display.

.google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ChannelPartnerLinkView

The view.

getViewValue()

public int getViewValue()

Optional. The level of granularity the ChannelPartnerLink will display.

.google.cloud.channel.v1.ChannelPartnerLinkView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for view.

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 GetChannelPartnerLinkRequest.Builder newBuilderForType()
Returns
TypeDescription
GetChannelPartnerLinkRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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