public static final class AccessSecretVersionResponse.Builder extends GeneratedMessageV3.Builder<AccessSecretVersionResponse.Builder> implements AccessSecretVersionResponseOrBuilder
Response message for SecretManagerService.AccessSecretVersion.
Protobuf type google.cloud.secrets.v1beta1.AccessSecretVersionResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessSecretVersionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AccessSecretVersionResponse build()
Returns
buildPartial()
public AccessSecretVersionResponse buildPartial()
Returns
clear()
public AccessSecretVersionResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AccessSecretVersionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public AccessSecretVersionResponse.Builder clearName()
The resource name of the SecretVersion in the format
projects/*/secrets/*/versions/*
.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessSecretVersionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPayload()
public AccessSecretVersionResponse.Builder clearPayload()
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Returns
clone()
public AccessSecretVersionResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AccessSecretVersionResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The resource name of the SecretVersion in the format
projects/*/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/*
.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
getPayload()
public SecretPayload getPayload()
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Returns
getPayloadBuilder()
public SecretPayload.Builder getPayloadBuilder()
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Returns
getPayloadOrBuilder()
public SecretPayloadOrBuilder getPayloadOrBuilder()
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Returns
hasPayload()
public boolean hasPayload()
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Returns
Type | Description |
boolean | Whether the payload field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AccessSecretVersionResponse other)
public AccessSecretVersionResponse.Builder mergeFrom(AccessSecretVersionResponse other)
Parameter
Returns
public AccessSecretVersionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AccessSecretVersionResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergePayload(SecretPayload value)
public AccessSecretVersionResponse.Builder mergePayload(SecretPayload value)
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessSecretVersionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AccessSecretVersionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public AccessSecretVersionResponse.Builder setName(String value)
The resource name of the SecretVersion in the format
projects/*/secrets/*/versions/*
.
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public AccessSecretVersionResponse.Builder setNameBytes(ByteString value)
The resource name of the SecretVersion in the format
projects/*/secrets/*/versions/*
.
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setPayload(SecretPayload value)
public AccessSecretVersionResponse.Builder setPayload(SecretPayload value)
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Parameter
Returns
setPayload(SecretPayload.Builder builderForValue)
public AccessSecretVersionResponse.Builder setPayload(SecretPayload.Builder builderForValue)
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessSecretVersionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessSecretVersionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides