public final class GenerateAccessTokenRequest extends GeneratedMessageV3 implements GenerateAccessTokenRequestOrBuilder
Generates an access token for a cluster.
Protobuf type google.cloud.edgecontainer.v1.GenerateAccessTokenRequest
Static Fields
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GenerateAccessTokenRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GenerateAccessTokenRequest.Builder newBuilder()
Returns
newBuilder(GenerateAccessTokenRequest prototype)
public static GenerateAccessTokenRequest.Builder newBuilder(GenerateAccessTokenRequest prototype)
Parameter
Returns
public static GenerateAccessTokenRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GenerateAccessTokenRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GenerateAccessTokenRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateAccessTokenRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GenerateAccessTokenRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateAccessTokenRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GenerateAccessTokenRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GenerateAccessTokenRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GenerateAccessTokenRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GenerateAccessTokenRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GenerateAccessTokenRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateAccessTokenRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GenerateAccessTokenRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Type | Description |
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
getDefaultInstanceForType()
public GenerateAccessTokenRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<GenerateAccessTokenRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GenerateAccessTokenRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateAccessTokenRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GenerateAccessTokenRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions