Class AccessSecretVersionResponse (2.45.0)

public final class AccessSecretVersionResponse extends GeneratedMessageV3 implements AccessSecretVersionResponseOrBuilder

Response message for SecretManagerService.AccessSecretVersion.

Protobuf type google.cloud.secretmanager.v1.AccessSecretVersionResponse

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AccessSecretVersionResponse getDefaultInstance()
Returns
Type Description
AccessSecretVersionResponse

getDescriptor()

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

newBuilder()

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

newBuilder(AccessSecretVersionResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AccessSecretVersionResponse getDefaultInstanceForType()
Returns
Type Description
AccessSecretVersionResponse

getName()

public String getName()

The resource name of the SecretVersion in the format projects/*/secrets/*/versions/* or projects/*/locations/*/secrets/*/versions/*.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the SecretVersion in the format projects/*/secrets/*/versions/* or projects/*/locations/*/secrets/*/versions/*.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getPayload()

public SecretPayload getPayload()

Secret payload

.google.cloud.secretmanager.v1.SecretPayload payload = 2;

Returns
Type Description
SecretPayload

The payload.

getPayloadOrBuilder()

public SecretPayloadOrBuilder getPayloadOrBuilder()

Secret payload

.google.cloud.secretmanager.v1.SecretPayload payload = 2;

Returns
Type Description
SecretPayloadOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasPayload()

public boolean hasPayload()

Secret payload

.google.cloud.secretmanager.v1.SecretPayload payload = 2;

Returns
Type Description
boolean

Whether the payload 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 AccessSecretVersionResponse.Builder newBuilderForType()
Returns
Type Description
AccessSecretVersionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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