public final class ExecutionConfig extends GeneratedMessageV3 implements ExecutionConfigOrBuilder
Configuration of the environment to use when calling Skaffold.
Protobuf type google.cloud.deploy.v1.ExecutionConfig
Static Fields
ARTIFACT_STORAGE_FIELD_NUMBER
public static final int ARTIFACT_STORAGE_FIELD_NUMBER
Field Value
DEFAULT_POOL_FIELD_NUMBER
public static final int DEFAULT_POOL_FIELD_NUMBER
Field Value
PRIVATE_POOL_FIELD_NUMBER
public static final int PRIVATE_POOL_FIELD_NUMBER
Field Value
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
USAGES_FIELD_NUMBER
public static final int USAGES_FIELD_NUMBER
Field Value
WORKER_POOL_FIELD_NUMBER
public static final int WORKER_POOL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ExecutionConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ExecutionConfig.Builder newBuilder()
Returns
newBuilder(ExecutionConfig prototype)
public static ExecutionConfig.Builder newBuilder(ExecutionConfig prototype)
Parameter
Returns
public static ExecutionConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExecutionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ExecutionConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExecutionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ExecutionConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecutionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExecutionConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ExecutionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExecutionConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExecutionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ExecutionConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExecutionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ExecutionConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getArtifactStorage()
public String getArtifactStorage()
Optional. Cloud Storage location in which to store execution outputs. This can
either be a bucket ("gs://my-bucket") or a path within a bucket
("gs://my-bucket/my-dir").
If unspecified, a default bucket located in the same region will be used.
string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The artifactStorage.
|
getArtifactStorageBytes()
public ByteString getArtifactStorageBytes()
Optional. Cloud Storage location in which to store execution outputs. This can
either be a bucket ("gs://my-bucket") or a path within a bucket
("gs://my-bucket/my-dir").
If unspecified, a default bucket located in the same region will be used.
string artifact_storage = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for artifactStorage.
|
getDefaultInstanceForType()
public ExecutionConfig getDefaultInstanceForType()
Returns
getDefaultPool()
public DefaultPool getDefaultPool()
Optional. Use default Cloud Build pool.
.google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getDefaultPoolOrBuilder()
public DefaultPoolOrBuilder getDefaultPoolOrBuilder()
Optional. Use default Cloud Build pool.
.google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getExecutionEnvironmentCase()
public ExecutionConfig.ExecutionEnvironmentCase getExecutionEnvironmentCase()
Returns
getParserForType()
public Parser<ExecutionConfig> getParserForType()
Returns
Overrides
getPrivatePool()
public PrivatePool getPrivatePool()
Optional. Use private Cloud Build pool.
.google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getPrivatePoolOrBuilder()
public PrivatePoolOrBuilder getPrivatePoolOrBuilder()
Optional. Use private Cloud Build pool.
.google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getServiceAccount()
public String getServiceAccount()
Optional. Google service account to use for execution. If unspecified,
the project execution service account
(<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The serviceAccount.
|
getServiceAccountBytes()
public ByteString getServiceAccountBytes()
Optional. Google service account to use for execution. If unspecified,
the project execution service account
(<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for serviceAccount.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUsages(int index)
public ExecutionConfig.ExecutionEnvironmentUsage getUsages(int index)
Required. Usages when this configuration should be applied.
repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
getUsagesCount()
public int getUsagesCount()
Required. Usages when this configuration should be applied.
repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The count of usages.
|
getUsagesList()
public List<ExecutionConfig.ExecutionEnvironmentUsage> getUsagesList()
Required. Usages when this configuration should be applied.
repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUsagesValue(int index)
public int getUsagesValue(int index)
Required. Usages when this configuration should be applied.
repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
int | The enum numeric value on the wire of usages at the given index.
|
getUsagesValueList()
public List<Integer> getUsagesValueList()
Required. Usages when this configuration should be applied.
repeated .google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for usages.
|
getWorkerPool()
public String getWorkerPool()
Optional. The resource name of the WorkerPool
, with the format
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
If this optional field is unspecified, the default Cloud Build pool will be
used.
string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The workerPool.
|
getWorkerPoolBytes()
public ByteString getWorkerPoolBytes()
Optional. The resource name of the WorkerPool
, with the format
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
If this optional field is unspecified, the default Cloud Build pool will be
used.
string worker_pool = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for workerPool.
|
hasDefaultPool()
public boolean hasDefaultPool()
Optional. Use default Cloud Build pool.
.google.cloud.deploy.v1.DefaultPool default_pool = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the defaultPool field is set.
|
hasPrivatePool()
public boolean hasPrivatePool()
Optional. Use private Cloud Build pool.
.google.cloud.deploy.v1.PrivatePool private_pool = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the privatePool field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ExecutionConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExecutionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ExecutionConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions