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
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
USAGES_FIELD_NUMBER
public static final int USAGES_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
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
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.
|
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