Package com.google.cloud.config.v1
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 TypeMethodDescriptiongetDependencies(int index) Required.com.google.protobuf.ByteStringgetDependenciesBytes(int index) Required.intRequired.Required.Optional.com.google.protobuf.ByteStringOptional.getId()The id of the deployment unit.com.google.protobuf.ByteStringThe id of the deployment unit.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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.
-