public final class ExecutionConfig extends GeneratedMessageV3 implements ExecutionConfigOrBuilder
Configuration of the environment to use when calling Skaffold.
Protobuf type google.events.cloud.deploy.v1.ExecutionConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ARTIFACT_STORAGE_FIELD_NUMBER
public static final int ARTIFACT_STORAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEFAULT_POOL_FIELD_NUMBER
public static final int DEFAULT_POOL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EXECUTION_TIMEOUT_FIELD_NUMBER
public static final int EXECUTION_TIMEOUT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PRIVATE_POOL_FIELD_NUMBER
public static final int PRIVATE_POOL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USAGES_FIELD_NUMBER
public static final int USAGES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WORKER_POOL_FIELD_NUMBER
public static final int WORKER_POOL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ExecutionConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExecutionConfig.Builder newBuilder()
newBuilder(ExecutionConfig prototype)
public static ExecutionConfig.Builder newBuilder(ExecutionConfig prototype)
public static ExecutionConfig parseDelimitedFrom(InputStream input)
public static ExecutionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExecutionConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExecutionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExecutionConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecutionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecutionConfig parseFrom(CodedInputStream input)
public static ExecutionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExecutionConfig parseFrom(InputStream input)
public static ExecutionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ExecutionConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExecutionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExecutionConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
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;
Returns |
Type |
Description |
ByteString |
The bytes for artifactStorage.
|
getDefaultInstanceForType()
public ExecutionConfig getDefaultInstanceForType()
getDefaultPool()
public DefaultPool getDefaultPool()
Optional. Use default Cloud Build pool.
.google.events.cloud.deploy.v1.DefaultPool default_pool = 2;
getDefaultPoolOrBuilder()
public DefaultPoolOrBuilder getDefaultPoolOrBuilder()
Optional. Use default Cloud Build pool.
.google.events.cloud.deploy.v1.DefaultPool default_pool = 2;
getExecutionEnvironmentCase()
public ExecutionConfig.ExecutionEnvironmentCase getExecutionEnvironmentCase()
getExecutionTimeout()
public Duration getExecutionTimeout()
Optional. Execution timeout for a Cloud Build Execution. This must be
between 10m and 24h in seconds format. If unspecified, a default timeout of
1h is used.
.google.protobuf.Duration execution_timeout = 7;
Returns |
Type |
Description |
Duration |
The executionTimeout.
|
getExecutionTimeoutOrBuilder()
public DurationOrBuilder getExecutionTimeoutOrBuilder()
Optional. Execution timeout for a Cloud Build Execution. This must be
between 10m and 24h in seconds format. If unspecified, a default timeout of
1h is used.
.google.protobuf.Duration execution_timeout = 7;
getParserForType()
public Parser<ExecutionConfig> getParserForType()
Overrides
getPrivatePool()
public PrivatePool getPrivatePool()
Optional. Use private Cloud Build pool.
.google.events.cloud.deploy.v1.PrivatePool private_pool = 3;
getPrivatePoolOrBuilder()
public PrivatePoolOrBuilder getPrivatePoolOrBuilder()
Optional. Use private Cloud Build pool.
.google.events.cloud.deploy.v1.PrivatePool private_pool = 3;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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;
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;
Returns |
Type |
Description |
ByteString |
The bytes for serviceAccount.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUsages(int index)
public ExecutionConfig.ExecutionEnvironmentUsage getUsages(int index)
Required. Usages when this configuration should be applied.
repeated .google.events.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
getUsagesCount()
public int getUsagesCount()
Required. Usages when this configuration should be applied.
repeated .google.events.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1;
Returns |
Type |
Description |
int |
The count of usages.
|
getUsagesList()
public List<ExecutionConfig.ExecutionEnvironmentUsage> getUsagesList()
Required. Usages when this configuration should be applied.
repeated .google.events.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1;
getUsagesValue(int index)
public int getUsagesValue(int index)
Required. Usages when this configuration should be applied.
repeated .google.events.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1;
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.events.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage usages = 1;
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;
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;
Returns |
Type |
Description |
ByteString |
The bytes for workerPool.
|
hasDefaultPool()
public boolean hasDefaultPool()
Optional. Use default Cloud Build pool.
.google.events.cloud.deploy.v1.DefaultPool default_pool = 2;
Returns |
Type |
Description |
boolean |
Whether the defaultPool field is set.
|
hasExecutionTimeout()
public boolean hasExecutionTimeout()
Optional. Execution timeout for a Cloud Build Execution. This must be
between 10m and 24h in seconds format. If unspecified, a default timeout of
1h is used.
.google.protobuf.Duration execution_timeout = 7;
Returns |
Type |
Description |
boolean |
Whether the executionTimeout field is set.
|
hasPrivatePool()
public boolean hasPrivatePool()
Optional. Use private Cloud Build pool.
.google.events.cloud.deploy.v1.PrivatePool private_pool = 3;
Returns |
Type |
Description |
boolean |
Whether the privatePool field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ExecutionConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExecutionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExecutionConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides