Class CustomTargetSkaffoldActions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CustomTargetSkaffoldActions.Builder>
com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder
All Implemented Interfaces:
CustomTargetSkaffoldActionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CustomTargetSkaffoldActions

public static final class CustomTargetSkaffoldActions.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomTargetSkaffoldActions.Builder> implements CustomTargetSkaffoldActionsOrBuilder
 CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
 using Skaffold custom actions.
 
Protobuf type google.cloud.deploy.v1.CustomTargetSkaffoldActions
  • 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.Builder<CustomTargetSkaffoldActions.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CustomTargetSkaffoldActions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CustomTargetSkaffoldActions.Builder>
    • getDefaultInstanceForType

      public CustomTargetSkaffoldActions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CustomTargetSkaffoldActions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CustomTargetSkaffoldActions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomTargetSkaffoldActions.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CustomTargetSkaffoldActions.Builder>
    • mergeFrom

      public CustomTargetSkaffoldActions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomTargetSkaffoldActions.Builder>
      Throws:
      IOException
    • getRenderAction

      public String getRenderAction()
       Optional. The Skaffold custom action responsible for render operations. If
       not provided then Cloud Deploy will perform the render operations via
       `skaffold render`.
       
      string render_action = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRenderAction in interface CustomTargetSkaffoldActionsOrBuilder
      Returns:
      The renderAction.
    • getRenderActionBytes

      public com.google.protobuf.ByteString getRenderActionBytes()
       Optional. The Skaffold custom action responsible for render operations. If
       not provided then Cloud Deploy will perform the render operations via
       `skaffold render`.
       
      string render_action = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRenderActionBytes in interface CustomTargetSkaffoldActionsOrBuilder
      Returns:
      The bytes for renderAction.
    • setRenderAction

      public CustomTargetSkaffoldActions.Builder setRenderAction(String value)
       Optional. The Skaffold custom action responsible for render operations. If
       not provided then Cloud Deploy will perform the render operations via
       `skaffold render`.
       
      string render_action = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The renderAction to set.
      Returns:
      This builder for chaining.
    • clearRenderAction

      public CustomTargetSkaffoldActions.Builder clearRenderAction()
       Optional. The Skaffold custom action responsible for render operations. If
       not provided then Cloud Deploy will perform the render operations via
       `skaffold render`.
       
      string render_action = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRenderActionBytes

      public CustomTargetSkaffoldActions.Builder setRenderActionBytes(com.google.protobuf.ByteString value)
       Optional. The Skaffold custom action responsible for render operations. If
       not provided then Cloud Deploy will perform the render operations via
       `skaffold render`.
       
      string render_action = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for renderAction to set.
      Returns:
      This builder for chaining.
    • getDeployAction

      public String getDeployAction()
       Required. The Skaffold custom action responsible for deploy operations.
       
      string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeployAction in interface CustomTargetSkaffoldActionsOrBuilder
      Returns:
      The deployAction.
    • getDeployActionBytes

      public com.google.protobuf.ByteString getDeployActionBytes()
       Required. The Skaffold custom action responsible for deploy operations.
       
      string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeployActionBytes in interface CustomTargetSkaffoldActionsOrBuilder
      Returns:
      The bytes for deployAction.
    • setDeployAction

      public CustomTargetSkaffoldActions.Builder setDeployAction(String value)
       Required. The Skaffold custom action responsible for deploy operations.
       
      string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The deployAction to set.
      Returns:
      This builder for chaining.
    • clearDeployAction

      public CustomTargetSkaffoldActions.Builder clearDeployAction()
       Required. The Skaffold custom action responsible for deploy operations.
       
      string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDeployActionBytes

      public CustomTargetSkaffoldActions.Builder setDeployActionBytes(com.google.protobuf.ByteString value)
       Required. The Skaffold custom action responsible for deploy operations.
       
      string deploy_action = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for deployAction to set.
      Returns:
      This builder for chaining.
    • getIncludeSkaffoldModulesList

      public List<SkaffoldModules> getIncludeSkaffoldModulesList()
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeSkaffoldModulesList in interface CustomTargetSkaffoldActionsOrBuilder
    • getIncludeSkaffoldModulesCount

      public int getIncludeSkaffoldModulesCount()
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeSkaffoldModulesCount in interface CustomTargetSkaffoldActionsOrBuilder
    • getIncludeSkaffoldModules

      public SkaffoldModules getIncludeSkaffoldModules(int index)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeSkaffoldModules in interface CustomTargetSkaffoldActionsOrBuilder
    • setIncludeSkaffoldModules

      public CustomTargetSkaffoldActions.Builder setIncludeSkaffoldModules(int index, SkaffoldModules value)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setIncludeSkaffoldModules

      public CustomTargetSkaffoldActions.Builder setIncludeSkaffoldModules(int index, SkaffoldModules.Builder builderForValue)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludeSkaffoldModules

      public CustomTargetSkaffoldActions.Builder addIncludeSkaffoldModules(SkaffoldModules value)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludeSkaffoldModules

      public CustomTargetSkaffoldActions.Builder addIncludeSkaffoldModules(int index, SkaffoldModules value)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludeSkaffoldModules

      public CustomTargetSkaffoldActions.Builder addIncludeSkaffoldModules(SkaffoldModules.Builder builderForValue)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludeSkaffoldModules

      public CustomTargetSkaffoldActions.Builder addIncludeSkaffoldModules(int index, SkaffoldModules.Builder builderForValue)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllIncludeSkaffoldModules

      public CustomTargetSkaffoldActions.Builder addAllIncludeSkaffoldModules(Iterable<? extends SkaffoldModules> values)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearIncludeSkaffoldModules

      public CustomTargetSkaffoldActions.Builder clearIncludeSkaffoldModules()
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeIncludeSkaffoldModules

      public CustomTargetSkaffoldActions.Builder removeIncludeSkaffoldModules(int index)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludeSkaffoldModulesBuilder

      public SkaffoldModules.Builder getIncludeSkaffoldModulesBuilder(int index)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludeSkaffoldModulesOrBuilder

      public SkaffoldModulesOrBuilder getIncludeSkaffoldModulesOrBuilder(int index)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeSkaffoldModulesOrBuilder in interface CustomTargetSkaffoldActionsOrBuilder
    • getIncludeSkaffoldModulesOrBuilderList

      public List<? extends SkaffoldModulesOrBuilder> getIncludeSkaffoldModulesOrBuilderList()
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeSkaffoldModulesOrBuilderList in interface CustomTargetSkaffoldActionsOrBuilder
    • addIncludeSkaffoldModulesBuilder

      public SkaffoldModules.Builder addIncludeSkaffoldModulesBuilder()
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addIncludeSkaffoldModulesBuilder

      public SkaffoldModules.Builder addIncludeSkaffoldModulesBuilder(int index)
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludeSkaffoldModulesBuilderList

      public List<SkaffoldModules.Builder> getIncludeSkaffoldModulesBuilderList()
       Optional. List of Skaffold modules Cloud Deploy will include in the
       Skaffold Config as required before performing diagnose.
       
      repeated .google.cloud.deploy.v1.SkaffoldModules include_skaffold_modules = 3 [(.google.api.field_behavior) = OPTIONAL];