Package com.google.dataflow.v1beta3
Class RuntimeEnvironment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.dataflow.v1beta3.RuntimeEnvironment
-
- All Implemented Interfaces:
RuntimeEnvironmentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class RuntimeEnvironment extends com.google.protobuf.GeneratedMessageV3 implements RuntimeEnvironmentOrBuilder
The environment values to set at runtime.
Protobuf typegoogle.dataflow.v1beta3.RuntimeEnvironment- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuntimeEnvironment.BuilderThe environment values to set at runtime.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADDITIONAL_EXPERIMENTS_FIELD_NUMBERstatic intADDITIONAL_USER_LABELS_FIELD_NUMBERstatic intBYPASS_TEMP_DIR_VALIDATION_FIELD_NUMBERstatic intENABLE_STREAMING_ENGINE_FIELD_NUMBERstatic intIP_CONFIGURATION_FIELD_NUMBERstatic intKMS_KEY_NAME_FIELD_NUMBERstatic intMACHINE_TYPE_FIELD_NUMBERstatic intMAX_WORKERS_FIELD_NUMBERstatic intNETWORK_FIELD_NUMBERstatic intNUM_WORKERS_FIELD_NUMBERstatic intSERVICE_ACCOUNT_EMAIL_FIELD_NUMBERstatic intSUBNETWORK_FIELD_NUMBERstatic intTEMP_LOCATION_FIELD_NUMBERstatic intWORKER_REGION_FIELD_NUMBERstatic intWORKER_ZONE_FIELD_NUMBERstatic intZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAdditionalUserLabels(String key)Additional user labels to be specified for the job.booleanequals(Object obj)StringgetAdditionalExperiments(int index)Additional experiment flags for the job, specified with the `--experiments` option.com.google.protobuf.ByteStringgetAdditionalExperimentsBytes(int index)Additional experiment flags for the job, specified with the `--experiments` option.intgetAdditionalExperimentsCount()Additional experiment flags for the job, specified with the `--experiments` option.com.google.protobuf.ProtocolStringListgetAdditionalExperimentsList()Additional experiment flags for the job, specified with the `--experiments` option.Map<String,String>getAdditionalUserLabels()Deprecated.intgetAdditionalUserLabelsCount()Additional user labels to be specified for the job.Map<String,String>getAdditionalUserLabelsMap()Additional user labels to be specified for the job.StringgetAdditionalUserLabelsOrDefault(String key, String defaultValue)Additional user labels to be specified for the job.StringgetAdditionalUserLabelsOrThrow(String key)Additional user labels to be specified for the job.booleangetBypassTempDirValidation()Whether to bypass the safety checks for the job's temporary directory.static RuntimeEnvironmentgetDefaultInstance()RuntimeEnvironmentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEnableStreamingEngine()Whether to enable Streaming Engine for the job.WorkerIPAddressConfigurationgetIpConfiguration()Configuration for VM IPs.intgetIpConfigurationValue()Configuration for VM IPs.StringgetKmsKeyName()Name for the Cloud KMS key for the job.com.google.protobuf.ByteStringgetKmsKeyNameBytes()Name for the Cloud KMS key for the job.StringgetMachineType()The machine type to use for the job.com.google.protobuf.ByteStringgetMachineTypeBytes()The machine type to use for the job.intgetMaxWorkers()The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.StringgetNetwork()Network to which VMs will be assigned.com.google.protobuf.ByteStringgetNetworkBytes()Network to which VMs will be assigned.intgetNumWorkers()The initial number of Google Compute Engine instnaces for the job.com.google.protobuf.Parser<RuntimeEnvironment>getParserForType()intgetSerializedSize()StringgetServiceAccountEmail()The email address of the service account to run the job as.com.google.protobuf.ByteStringgetServiceAccountEmailBytes()The email address of the service account to run the job as.StringgetSubnetwork()Subnetwork to which VMs will be assigned, if desired.com.google.protobuf.ByteStringgetSubnetworkBytes()Subnetwork to which VMs will be assigned, if desired.StringgetTempLocation()The Cloud Storage path to use for temporary files.com.google.protobuf.ByteStringgetTempLocationBytes()The Cloud Storage path to use for temporary files.StringgetWorkerRegion()The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.com.google.protobuf.ByteStringgetWorkerRegionBytes()The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.StringgetWorkerZone()The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.com.google.protobuf.ByteStringgetWorkerZoneBytes()The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g.StringgetZone()The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline.com.google.protobuf.ByteStringgetZoneBytes()The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static RuntimeEnvironment.BuildernewBuilder()static RuntimeEnvironment.BuildernewBuilder(RuntimeEnvironment prototype)RuntimeEnvironment.BuildernewBuilderForType()protected RuntimeEnvironment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RuntimeEnvironmentparseDelimitedFrom(InputStream input)static RuntimeEnvironmentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeEnvironmentparseFrom(byte[] data)static RuntimeEnvironmentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeEnvironmentparseFrom(com.google.protobuf.ByteString data)static RuntimeEnvironmentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeEnvironmentparseFrom(com.google.protobuf.CodedInputStream input)static RuntimeEnvironmentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeEnvironmentparseFrom(InputStream input)static RuntimeEnvironmentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeEnvironmentparseFrom(ByteBuffer data)static RuntimeEnvironmentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RuntimeEnvironment>parser()RuntimeEnvironment.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NUM_WORKERS_FIELD_NUMBER
public static final int NUM_WORKERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_WORKERS_FIELD_NUMBER
public static final int MAX_WORKERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEMP_LOCATION_FIELD_NUMBER
public static final int TEMP_LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BYPASS_TEMP_DIR_VALIDATION_FIELD_NUMBER
public static final int BYPASS_TEMP_DIR_VALIDATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDITIONAL_EXPERIMENTS_FIELD_NUMBER
public static final int ADDITIONAL_EXPERIMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDITIONAL_USER_LABELS_FIELD_NUMBER
public static final int ADDITIONAL_USER_LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_CONFIGURATION_FIELD_NUMBER
public static final int IP_CONFIGURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKER_REGION_FIELD_NUMBER
public static final int WORKER_REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKER_ZONE_FIELD_NUMBER
public static final int WORKER_ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_STREAMING_ENGINE_FIELD_NUMBER
public static final int ENABLE_STREAMING_ENGINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNumWorkers
public int getNumWorkers()
The initial number of Google Compute Engine instnaces for the job.
int32 num_workers = 11;- Specified by:
getNumWorkersin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The numWorkers.
-
getMaxWorkers
public int getMaxWorkers()
The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.
int32 max_workers = 1;- Specified by:
getMaxWorkersin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The maxWorkers.
-
getZone
public String getZone()
The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.
string zone = 2;- Specified by:
getZonein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.
string zone = 2;- Specified by:
getZoneBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for zone.
-
getServiceAccountEmail
public String getServiceAccountEmail()
The email address of the service account to run the job as.
string service_account_email = 3;- Specified by:
getServiceAccountEmailin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The serviceAccountEmail.
-
getServiceAccountEmailBytes
public com.google.protobuf.ByteString getServiceAccountEmailBytes()
The email address of the service account to run the job as.
string service_account_email = 3;- Specified by:
getServiceAccountEmailBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for serviceAccountEmail.
-
getTempLocation
public String getTempLocation()
The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 4;- Specified by:
getTempLocationin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The tempLocation.
-
getTempLocationBytes
public com.google.protobuf.ByteString getTempLocationBytes()
The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
string temp_location = 4;- Specified by:
getTempLocationBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for tempLocation.
-
getBypassTempDirValidation
public boolean getBypassTempDirValidation()
Whether to bypass the safety checks for the job's temporary directory. Use with caution.
bool bypass_temp_dir_validation = 5;- Specified by:
getBypassTempDirValidationin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bypassTempDirValidation.
-
getMachineType
public String getMachineType()
The machine type to use for the job. Defaults to the value from the template if not specified.
string machine_type = 6;- Specified by:
getMachineTypein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to use for the job. Defaults to the value from the template if not specified.
string machine_type = 6;- Specified by:
getMachineTypeBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for machineType.
-
getAdditionalExperimentsList
public com.google.protobuf.ProtocolStringList getAdditionalExperimentsList()
Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Specified by:
getAdditionalExperimentsListin interfaceRuntimeEnvironmentOrBuilder- Returns:
- A list containing the additionalExperiments.
-
getAdditionalExperimentsCount
public int getAdditionalExperimentsCount()
Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Specified by:
getAdditionalExperimentsCountin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The count of additionalExperiments.
-
getAdditionalExperiments
public String getAdditionalExperiments(int index)
Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Specified by:
getAdditionalExperimentsin interfaceRuntimeEnvironmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalExperiments at the given index.
-
getAdditionalExperimentsBytes
public com.google.protobuf.ByteString getAdditionalExperimentsBytes(int index)
Additional experiment flags for the job, specified with the `--experiments` option.
repeated string additional_experiments = 7;- Specified by:
getAdditionalExperimentsBytesin interfaceRuntimeEnvironmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the additionalExperiments at the given index.
-
getNetwork
public String getNetwork()
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 8;- Specified by:
getNetworkin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 8;- Specified by:
getNetworkBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for network.
-
getSubnetwork
public String getSubnetwork()
Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must use the complete URL.
string subnetwork = 9;- Specified by:
getSubnetworkin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()
Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK" or "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must use the complete URL.
string subnetwork = 9;- Specified by:
getSubnetworkBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for subnetwork.
-
getAdditionalUserLabelsCount
public int getAdditionalUserLabelsCount()
Description copied from interface:RuntimeEnvironmentOrBuilderAdditional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.map<string, string> additional_user_labels = 10;- Specified by:
getAdditionalUserLabelsCountin interfaceRuntimeEnvironmentOrBuilder
-
containsAdditionalUserLabels
public boolean containsAdditionalUserLabels(String key)
Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.map<string, string> additional_user_labels = 10;- Specified by:
containsAdditionalUserLabelsin interfaceRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabels
@Deprecated public Map<String,String> getAdditionalUserLabels()
Deprecated.UsegetAdditionalUserLabelsMap()instead.- Specified by:
getAdditionalUserLabelsin interfaceRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabelsMap
public Map<String,String> getAdditionalUserLabelsMap()
Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.map<string, string> additional_user_labels = 10;- Specified by:
getAdditionalUserLabelsMapin interfaceRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabelsOrDefault
public String getAdditionalUserLabelsOrDefault(String key, String defaultValue)
Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.map<string, string> additional_user_labels = 10;- Specified by:
getAdditionalUserLabelsOrDefaultin interfaceRuntimeEnvironmentOrBuilder
-
getAdditionalUserLabelsOrThrow
public String getAdditionalUserLabelsOrThrow(String key)
Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1kg", "count": "3" }.map<string, string> additional_user_labels = 10;- Specified by:
getAdditionalUserLabelsOrThrowin interfaceRuntimeEnvironmentOrBuilder
-
getKmsKeyName
public String getKmsKeyName()
Name for the Cloud KMS key for the job. Key format is: projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
string kms_key_name = 12;- Specified by:
getKmsKeyNamein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()
Name for the Cloud KMS key for the job. Key format is: projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>
string kms_key_name = 12;- Specified by:
getKmsKeyNameBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for kmsKeyName.
-
getIpConfigurationValue
public int getIpConfigurationValue()
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;- Specified by:
getIpConfigurationValuein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The enum numeric value on the wire for ipConfiguration.
-
getIpConfiguration
public WorkerIPAddressConfiguration getIpConfiguration()
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 14;- Specified by:
getIpConfigurationin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The ipConfiguration.
-
getWorkerRegion
public String getWorkerRegion()
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.
string worker_region = 15;- Specified by:
getWorkerRegionin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The workerRegion.
-
getWorkerRegionBytes
public com.google.protobuf.ByteString getWorkerRegionBytes()
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.
string worker_region = 15;- Specified by:
getWorkerRegionBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for workerRegion.
-
getWorkerZone
public String getWorkerZone()
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1-a". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
string worker_zone = 16;- Specified by:
getWorkerZonein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The workerZone.
-
getWorkerZoneBytes
public com.google.protobuf.ByteString getWorkerZoneBytes()
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. "us-west1-a". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
string worker_zone = 16;- Specified by:
getWorkerZoneBytesin interfaceRuntimeEnvironmentOrBuilder- Returns:
- The bytes for workerZone.
-
getEnableStreamingEngine
public boolean getEnableStreamingEngine()
Whether to enable Streaming Engine for the job.
bool enable_streaming_engine = 17;- Specified by:
getEnableStreamingEnginein interfaceRuntimeEnvironmentOrBuilder- Returns:
- The enableStreamingEngine.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RuntimeEnvironment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeEnvironment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeEnvironment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeEnvironment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeEnvironment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeEnvironment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeEnvironment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RuntimeEnvironment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RuntimeEnvironment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RuntimeEnvironment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RuntimeEnvironment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RuntimeEnvironment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RuntimeEnvironment.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RuntimeEnvironment.Builder newBuilder()
-
newBuilder
public static RuntimeEnvironment.Builder newBuilder(RuntimeEnvironment prototype)
-
toBuilder
public RuntimeEnvironment.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RuntimeEnvironment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RuntimeEnvironment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RuntimeEnvironment> parser()
-
getParserForType
public com.google.protobuf.Parser<RuntimeEnvironment> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RuntimeEnvironment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-