public static final class ServiceResources.Builder extends GeneratedMessage.Builder<ServiceResources.Builder> implements ServiceResourcesOrBuilderResources used by the Dataflow Service to run the job.
Protobuf type google.dataflow.v1beta3.ServiceResources
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServiceResources.BuilderImplements
ServiceResourcesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllZones(Iterable<String> values)
public ServiceResources.Builder addAllZones(Iterable<String> values)Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c
repeated string zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The zones to add. |
| Returns | |
|---|---|
| Type | Description |
ServiceResources.Builder |
This builder for chaining. |
addZones(String value)
public ServiceResources.Builder addZones(String value)Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c
repeated string zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zones to add. |
| Returns | |
|---|---|
| Type | Description |
ServiceResources.Builder |
This builder for chaining. |
addZonesBytes(ByteString value)
public ServiceResources.Builder addZonesBytes(ByteString value)Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c
repeated string zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the zones to add. |
| Returns | |
|---|---|
| Type | Description |
ServiceResources.Builder |
This builder for chaining. |
build()
public ServiceResources build()| Returns | |
|---|---|
| Type | Description |
ServiceResources |
|
buildPartial()
public ServiceResources buildPartial()| Returns | |
|---|---|
| Type | Description |
ServiceResources |
|
clear()
public ServiceResources.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServiceResources.Builder |
|
clearZones()
public ServiceResources.Builder clearZones()Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c
repeated string zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ServiceResources.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ServiceResources getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServiceResources |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getZones(int index)
public String getZones(int index)Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c
repeated string zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The zones at the given index. |
getZonesBytes(int index)
public ByteString getZonesBytes(int index)Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c
repeated string zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the zones at the given index. |
getZonesCount()
public int getZonesCount()Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c
repeated string zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of zones. |
getZonesList()
public ProtocolStringList getZonesList()Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c
repeated string zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the zones. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ServiceResources other)
public ServiceResources.Builder mergeFrom(ServiceResources other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceResources |
| Returns | |
|---|---|
| Type | Description |
ServiceResources.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceResources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServiceResources.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServiceResources.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServiceResources.Builder |
|
setZones(int index, String value)
public ServiceResources.Builder setZones(int index, String value)Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c
repeated string zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe zones to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceResources.Builder |
This builder for chaining. |