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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessSecretVersionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AccessSecretVersionResponse build()
buildPartial()
public AccessSecretVersionResponse buildPartial()
clear()
public AccessSecretVersionResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AccessSecretVersionResponse.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessSecretVersionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public AccessSecretVersionResponse.Builder clearPayload()
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
clone()
public AccessSecretVersionResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public AccessSecretVersionResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getPayload()
public SecretPayload getPayload()
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
getPayloadBuilder()
public SecretPayload.Builder getPayloadBuilder()
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
getPayloadOrBuilder()
public SecretPayloadOrBuilder getPayloadOrBuilder()
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AccessSecretVersionResponse other)
public AccessSecretVersionResponse.Builder mergeFrom(AccessSecretVersionResponse other)
public AccessSecretVersionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AccessSecretVersionResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePayload(SecretPayload value)
public AccessSecretVersionResponse.Builder mergePayload(SecretPayload value)
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessSecretVersionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AccessSecretVersionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setPayload(SecretPayload value)
public AccessSecretVersionResponse.Builder setPayload(SecretPayload value)
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
setPayload(SecretPayload.Builder builderForValue)
public AccessSecretVersionResponse.Builder setPayload(SecretPayload.Builder builderForValue)
Secret payload
.google.cloud.secrets.v1beta1.SecretPayload payload = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessSecretVersionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessSecretVersionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides