public final class Secrets extends GeneratedMessageV3 implements SecretsOrBuilder
Secrets and secret environment variables.
Protobuf type google.devtools.cloudbuild.v1.Secrets
Static Fields
INLINE_FIELD_NUMBER
public static final int INLINE_FIELD_NUMBER
Field Value
SECRET_MANAGER_FIELD_NUMBER
public static final int SECRET_MANAGER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Secrets getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Secrets.Builder newBuilder()
Returns
newBuilder(Secrets prototype)
public static Secrets.Builder newBuilder(Secrets prototype)
Parameter
Returns
public static Secrets parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Secrets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Secrets parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Secrets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Secrets parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Secrets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Secrets parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Secrets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Secrets parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Secrets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Secrets parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Secrets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Secrets> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Secrets getDefaultInstanceForType()
Returns
getInline(int index)
public InlineSecret getInline(int index)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Returns
getInlineCount()
public int getInlineCount()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Returns
getInlineList()
public List<InlineSecret> getInlineList()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Returns
getInlineOrBuilder(int index)
public InlineSecretOrBuilder getInlineOrBuilder(int index)
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Parameter
Returns
getInlineOrBuilderList()
public List<? extends InlineSecretOrBuilder> getInlineOrBuilderList()
Secrets encrypted with KMS key and the associated secret environment
variable.
repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
Returns
Type | Description |
List<? extends com.google.cloudbuild.v1.InlineSecretOrBuilder> | |
getParserForType()
public Parser<Secrets> getParserForType()
Returns
Overrides
getSecretManager(int index)
public SecretManagerSecret getSecretManager(int index)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Returns
getSecretManagerCount()
public int getSecretManagerCount()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Returns
getSecretManagerList()
public List<SecretManagerSecret> getSecretManagerList()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Returns
getSecretManagerOrBuilder(int index)
public SecretManagerSecretOrBuilder getSecretManagerOrBuilder(int index)
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Parameter
Returns
getSecretManagerOrBuilderList()
public List<? extends SecretManagerSecretOrBuilder> getSecretManagerOrBuilderList()
Secrets in Secret Manager and associated secret environment variable.
repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
Returns
Type | Description |
List<? extends com.google.cloudbuild.v1.SecretManagerSecretOrBuilder> | |
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 Secrets.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Secrets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Secrets.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions