Class ServiceResources.Builder (0.72.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.72.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ServiceResources . Builder   extends   GeneratedMessageV3 . Builder<ServiceResources . Builder >  implements   ServiceResourcesOrBuilder  
   Resources used by the Dataflow Service to run the job.
 Protobuf type google.dataflow.v1beta3.ServiceResources
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  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];
addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ServiceResources . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  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  
      
        valueString The zones to add.
 
     
  
  
  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  
      
        valueByteString The bytes of the zones to add.
 
     
  
  
  build() 
  
    
public   ServiceResources   build ()  
  
  buildPartial() 
  
    
public   ServiceResources   buildPartial ()  
  
  clear() 
  
    
public   ServiceResources . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   ServiceResources . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ServiceResources . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  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];
clone() 
  
    
public   ServiceResources . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ServiceResources   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  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  
      
        indexint The 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  
      
        indexint The 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];
internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(ServiceResources other) 
  
    
public   ServiceResources . Builder   mergeFrom ( ServiceResources   other )  
  
  
  
    
public   ServiceResources . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ServiceResources . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ServiceResources . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ServiceResources . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ServiceResources . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ServiceResources . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  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  
      
        indexint The index to set the value at.
 
      
        valueString The zones to set.
 
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]