Class AccessSecretVersionResponse (2.3.10)

public final class AccessSecretVersionResponse extends GeneratedMessageV3 implements AccessSecretVersionResponseOrBuilder

Response message for SecretManagerService.AccessSecretVersion.

Protobuf type google.cloud.secrets.v1beta1.AccessSecretVersionResponse

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AccessSecretVersionResponse getDefaultInstance()
Returns
TypeDescription
AccessSecretVersionResponse

getDescriptor()

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

newBuilder()

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

newBuilder(AccessSecretVersionResponse prototype)

public static AccessSecretVersionResponse.Builder newBuilder(AccessSecretVersionResponse prototype)
Parameter
NameDescription
prototypeAccessSecretVersionResponse
Returns
TypeDescription
AccessSecretVersionResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AccessSecretVersionResponse getDefaultInstanceForType()
Returns
TypeDescription
AccessSecretVersionResponse

getName()

public String getName()

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

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getPayload()

public SecretPayload getPayload()

Secret payload

.google.cloud.secrets.v1beta1.SecretPayload payload = 2;

Returns
TypeDescription
SecretPayload

The payload.

getPayloadOrBuilder()

public SecretPayloadOrBuilder getPayloadOrBuilder()

Secret payload

.google.cloud.secrets.v1beta1.SecretPayload payload = 2;

Returns
TypeDescription
SecretPayloadOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPayload()

public boolean hasPayload()

Secret payload

.google.cloud.secrets.v1beta1.SecretPayload payload = 2;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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