Class Secrets

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloudbuild.v1.Secrets
All Implemented Interfaces:
SecretsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Secrets extends com.google.protobuf.GeneratedMessage implements SecretsOrBuilder
 Secrets and secret environment variables.
 
Protobuf type google.devtools.cloudbuild.v1.Secrets
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Secrets and secret environment variables.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static Secrets
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    getInline(int index)
    Secrets encrypted with KMS key and the associated secret environment variable.
    int
    Secrets encrypted with KMS key and the associated secret environment variable.
    Secrets encrypted with KMS key and the associated secret environment variable.
    getInlineOrBuilder(int index)
    Secrets encrypted with KMS key and the associated secret environment variable.
    Secrets encrypted with KMS key and the associated secret environment variable.
    com.google.protobuf.Parser<Secrets>
     
    getSecretManager(int index)
    Secrets in Secret Manager and associated secret environment variable.
    int
    Secrets in Secret Manager and associated secret environment variable.
    Secrets in Secret Manager and associated secret environment variable.
    Secrets in Secret Manager and associated secret environment variable.
    Secrets in Secret Manager and associated secret environment variable.
    int
     
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Secrets prototype)
     
     
    protected Secrets.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Secrets
     
    static Secrets
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Secrets
    parseFrom(byte[] data)
     
    static Secrets
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Secrets
    parseFrom(com.google.protobuf.ByteString data)
     
    static Secrets
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Secrets
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Secrets
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Secrets
     
    static Secrets
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Secrets
     
    static Secrets
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Secrets>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • SECRET_MANAGER_FIELD_NUMBER

      public static final int SECRET_MANAGER_FIELD_NUMBER
      See Also:
    • INLINE_FIELD_NUMBER

      public static final int INLINE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSecretManagerList

      public List<SecretManagerSecret> getSecretManagerList()
       Secrets in Secret Manager and associated secret environment variable.
       
      repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
      Specified by:
      getSecretManagerList in interface SecretsOrBuilder
    • getSecretManagerOrBuilderList

      public List<? extends SecretManagerSecretOrBuilder> getSecretManagerOrBuilderList()
       Secrets in Secret Manager and associated secret environment variable.
       
      repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
      Specified by:
      getSecretManagerOrBuilderList in interface SecretsOrBuilder
    • getSecretManagerCount

      public int getSecretManagerCount()
       Secrets in Secret Manager and associated secret environment variable.
       
      repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
      Specified by:
      getSecretManagerCount in interface SecretsOrBuilder
    • getSecretManager

      public SecretManagerSecret getSecretManager(int index)
       Secrets in Secret Manager and associated secret environment variable.
       
      repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
      Specified by:
      getSecretManager in interface SecretsOrBuilder
    • getSecretManagerOrBuilder

      public SecretManagerSecretOrBuilder getSecretManagerOrBuilder(int index)
       Secrets in Secret Manager and associated secret environment variable.
       
      repeated .google.devtools.cloudbuild.v1.SecretManagerSecret secret_manager = 1;
      Specified by:
      getSecretManagerOrBuilder in interface SecretsOrBuilder
    • getInlineList

      public List<InlineSecret> getInlineList()
       Secrets encrypted with KMS key and the associated secret environment
       variable.
       
      repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
      Specified by:
      getInlineList in interface SecretsOrBuilder
    • 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;
      Specified by:
      getInlineOrBuilderList in interface SecretsOrBuilder
    • getInlineCount

      public int getInlineCount()
       Secrets encrypted with KMS key and the associated secret environment
       variable.
       
      repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
      Specified by:
      getInlineCount in interface SecretsOrBuilder
    • getInline

      public InlineSecret getInline(int index)
       Secrets encrypted with KMS key and the associated secret environment
       variable.
       
      repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
      Specified by:
      getInline in interface SecretsOrBuilder
    • getInlineOrBuilder

      public InlineSecretOrBuilder getInlineOrBuilder(int index)
       Secrets encrypted with KMS key and the associated secret environment
       variable.
       
      repeated .google.devtools.cloudbuild.v1.InlineSecret inline = 2;
      Specified by:
      getInlineOrBuilder in interface SecretsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Secrets parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Secrets parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Secrets parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Secrets parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Secrets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Secrets parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Secrets parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Secrets parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Secrets parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Secrets parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Secrets parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Secrets parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Secrets.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Secrets.Builder newBuilder()
    • newBuilder

      public static Secrets.Builder newBuilder(Secrets prototype)
    • toBuilder

      public Secrets.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Secrets.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Secrets getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Secrets> parser()
    • getParserForType

      public com.google.protobuf.Parser<Secrets> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Secrets getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder