Class GenerateOfflineCredentialRequest (0.37.0)

public final class GenerateOfflineCredentialRequest extends GeneratedMessageV3 implements GenerateOfflineCredentialRequestOrBuilder

Generates an offline credential(offline) for a cluster.

Protobuf type google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest

Inheritance

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

Static Fields

CLUSTER_FIELD_NUMBER

public static final int CLUSTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateOfflineCredentialRequest getDefaultInstance()
Returns
TypeDescription
GenerateOfflineCredentialRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateOfflineCredentialRequest prototype)

public static GenerateOfflineCredentialRequest.Builder newBuilder(GenerateOfflineCredentialRequest prototype)
Parameter
NameDescription
prototypeGenerateOfflineCredentialRequest
Returns
TypeDescription
GenerateOfflineCredentialRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCluster()

public String getCluster()

Required. The resource name of the cluster.

string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The cluster.

getClusterBytes()

public ByteString getClusterBytes()

Required. The resource name of the cluster.

string cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public GenerateOfflineCredentialRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateOfflineCredentialRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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