Class SkaffoldModules

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.SkaffoldModules
All Implemented Interfaces:
SkaffoldModulesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SkaffoldModules extends com.google.protobuf.GeneratedMessage implements SkaffoldModulesOrBuilder
 Skaffold Config modules and their remote source.
 
Protobuf type google.cloud.deploy.v1.SkaffoldModules
See Also:
  • Field Details

    • CONFIGS_FIELD_NUMBER

      public static final int CONFIGS_FIELD_NUMBER
      See Also:
    • GIT_FIELD_NUMBER

      public static final int GIT_FIELD_NUMBER
      See Also:
    • GOOGLE_CLOUD_STORAGE_FIELD_NUMBER

      public static final int GOOGLE_CLOUD_STORAGE_FIELD_NUMBER
      See Also:
    • GOOGLE_CLOUD_BUILD_REPO_FIELD_NUMBER

      public static final int GOOGLE_CLOUD_BUILD_REPO_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
    • getSourceCase

      public SkaffoldModules.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface SkaffoldModulesOrBuilder
    • getConfigsList

      public com.google.protobuf.ProtocolStringList getConfigsList()
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigsList in interface SkaffoldModulesOrBuilder
      Returns:
      A list containing the configs.
    • getConfigsCount

      public int getConfigsCount()
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigsCount in interface SkaffoldModulesOrBuilder
      Returns:
      The count of configs.
    • getConfigs

      public String getConfigs(int index)
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigs in interface SkaffoldModulesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The configs at the given index.
    • getConfigsBytes

      public com.google.protobuf.ByteString getConfigsBytes(int index)
       Optional. The Skaffold Config modules to use from the specified source.
       
      repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfigsBytes in interface SkaffoldModulesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the configs at the given index.
    • hasGit

      public boolean hasGit()
       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGit in interface SkaffoldModulesOrBuilder
      Returns:
      Whether the git field is set.
    • getGit

       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGit in interface SkaffoldModulesOrBuilder
      Returns:
      The git.
    • getGitOrBuilder

       Optional. Remote git repository containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGitOrBuilder in interface SkaffoldModulesOrBuilder
    • hasGoogleCloudStorage

      public boolean hasGoogleCloudStorage()
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGoogleCloudStorage in interface SkaffoldModulesOrBuilder
      Returns:
      Whether the googleCloudStorage field is set.
    • getGoogleCloudStorage

      public SkaffoldModules.SkaffoldGCSSource getGoogleCloudStorage()
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleCloudStorage in interface SkaffoldModulesOrBuilder
      Returns:
      The googleCloudStorage.
    • getGoogleCloudStorageOrBuilder

      public SkaffoldModules.SkaffoldGCSSourceOrBuilder getGoogleCloudStorageOrBuilder()
       Optional. Cloud Storage bucket containing the Skaffold Config modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleCloudStorageOrBuilder in interface SkaffoldModulesOrBuilder
    • hasGoogleCloudBuildRepo

      public boolean hasGoogleCloudBuildRepo()
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGoogleCloudBuildRepo in interface SkaffoldModulesOrBuilder
      Returns:
      Whether the googleCloudBuildRepo field is set.
    • getGoogleCloudBuildRepo

      public SkaffoldModules.SkaffoldGCBRepoSource getGoogleCloudBuildRepo()
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleCloudBuildRepo in interface SkaffoldModulesOrBuilder
      Returns:
      The googleCloudBuildRepo.
    • getGoogleCloudBuildRepoOrBuilder

      public SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder getGoogleCloudBuildRepoOrBuilder()
       Optional. Cloud Build V2 repository containing the Skaffold Config
       modules.
       
      .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleCloudBuildRepoOrBuilder in interface SkaffoldModulesOrBuilder
    • 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 SkaffoldModules parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static SkaffoldModules.Builder newBuilder()
    • newBuilder

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

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

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

      public static SkaffoldModules getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<SkaffoldModules> 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 SkaffoldModules getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder