Interface DeploymentUnitOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DeploymentUnit, DeploymentUnit.Builder

@Generated public interface DeploymentUnitOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getDependencies(int index)
    Required.
    com.google.protobuf.ByteString
    Required.
    int
    Required.
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    The id of the deployment unit.
    com.google.protobuf.ByteString
    The id of the deployment unit.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • getId

      String getId()
       The id of the deployment unit. Must be unique within the deployment group.
       
      string id = 1;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       The id of the deployment unit. Must be unique within the deployment group.
       
      string id = 1;
      Returns:
      The bytes for id.
    • hasDeployment

      boolean hasDeployment()
       Optional. The name of the deployment to be provisioned.
       Format:
       'projects/{project_id}/locations/{location}/deployments/{deployment}'.
       
      optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the deployment field is set.
    • getDeployment

      String getDeployment()
       Optional. The name of the deployment to be provisioned.
       Format:
       'projects/{project_id}/locations/{location}/deployments/{deployment}'.
       
      optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The deployment.
    • getDeploymentBytes

      com.google.protobuf.ByteString getDeploymentBytes()
       Optional. The name of the deployment to be provisioned.
       Format:
       'projects/{project_id}/locations/{location}/deployments/{deployment}'.
       
      optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for deployment.
    • getDependenciesList

      List<String> getDependenciesList()
       Required. The IDs of the deployment units within the deployment group that
       this unit depends on.
       
      repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      A list containing the dependencies.
    • getDependenciesCount

      int getDependenciesCount()
       Required. The IDs of the deployment units within the deployment group that
       this unit depends on.
       
      repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The count of dependencies.
    • getDependencies

      String getDependencies(int index)
       Required. The IDs of the deployment units within the deployment group that
       this unit depends on.
       
      repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the element to return.
      Returns:
      The dependencies at the given index.
    • getDependenciesBytes

      com.google.protobuf.ByteString getDependenciesBytes(int index)
       Required. The IDs of the deployment units within the deployment group that
       this unit depends on.
       
      repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dependencies at the given index.