Class DeploymentOverride

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.configmanagement.v1beta.DeploymentOverride
All Implemented Interfaces:
DeploymentOverrideOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeploymentOverride extends com.google.protobuf.GeneratedMessage implements DeploymentOverrideOrBuilder
 Configuration for a deployment override.
 
Protobuf type google.cloud.gkehub.configmanagement.v1beta.DeploymentOverride
See Also:
  • Field Details

    • DEPLOYMENT_NAME_FIELD_NUMBER

      public static final int DEPLOYMENT_NAME_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_NAMESPACE_FIELD_NUMBER

      public static final int DEPLOYMENT_NAMESPACE_FIELD_NUMBER
      See Also:
    • CONTAINERS_FIELD_NUMBER

      public static final int CONTAINERS_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
    • getDeploymentName

      public String getDeploymentName()
       Required. The name of the deployment resource to be overridden.
       
      string deployment_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeploymentName in interface DeploymentOverrideOrBuilder
      Returns:
      The deploymentName.
    • getDeploymentNameBytes

      public com.google.protobuf.ByteString getDeploymentNameBytes()
       Required. The name of the deployment resource to be overridden.
       
      string deployment_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeploymentNameBytes in interface DeploymentOverrideOrBuilder
      Returns:
      The bytes for deploymentName.
    • getDeploymentNamespace

      public String getDeploymentNamespace()
       Required. The namespace of the deployment resource to be overridden.
       
      string deployment_namespace = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeploymentNamespace in interface DeploymentOverrideOrBuilder
      Returns:
      The deploymentNamespace.
    • getDeploymentNamespaceBytes

      public com.google.protobuf.ByteString getDeploymentNamespaceBytes()
       Required. The namespace of the deployment resource to be overridden.
       
      string deployment_namespace = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeploymentNamespaceBytes in interface DeploymentOverrideOrBuilder
      Returns:
      The bytes for deploymentNamespace.
    • getContainersList

      public List<ContainerOverride> getContainersList()
       Optional. The containers of the deployment resource to be overridden.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ContainerOverride containers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getContainersList in interface DeploymentOverrideOrBuilder
    • getContainersOrBuilderList

      public List<? extends ContainerOverrideOrBuilder> getContainersOrBuilderList()
       Optional. The containers of the deployment resource to be overridden.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ContainerOverride containers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getContainersOrBuilderList in interface DeploymentOverrideOrBuilder
    • getContainersCount

      public int getContainersCount()
       Optional. The containers of the deployment resource to be overridden.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ContainerOverride containers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getContainersCount in interface DeploymentOverrideOrBuilder
    • getContainers

      public ContainerOverride getContainers(int index)
       Optional. The containers of the deployment resource to be overridden.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ContainerOverride containers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getContainers in interface DeploymentOverrideOrBuilder
    • getContainersOrBuilder

      public ContainerOverrideOrBuilder getContainersOrBuilder(int index)
       Optional. The containers of the deployment resource to be overridden.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ContainerOverride containers = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getContainersOrBuilder in interface DeploymentOverrideOrBuilder
    • 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 DeploymentOverride parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DeploymentOverride.Builder newBuilder()
    • newBuilder

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

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

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

      public static DeploymentOverride getDefaultInstance()
    • parser

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

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