Class EndpointConfig.Builder (4.31.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.31.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  EndpointConfig . Builder   extends   GeneratedMessageV3 . Builder<EndpointConfig . Builder >  implements   EndpointConfigOrBuilder  
   Endpoint config for this cluster
 Protobuf type google.cloud.dataproc.v1.EndpointConfig
    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
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   EndpointConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   EndpointConfig   build ()  
  
  buildPartial() 
  
    
public   EndpointConfig   buildPartial ()  
  
  clear() 
  
    
public   EndpointConfig . Builder   clear ()  
  
  Overrides 
  
  clearEnableHttpPortAccess() 
  
    
public   EndpointConfig . Builder   clearEnableHttpPortAccess ()  
   Optional. If true, enable http access to specific ports on the cluster
 from external sources. Defaults to false.
 bool enable_http_port_access = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field) 
  
    
public   EndpointConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearHttpPorts() 
  
    
public   EndpointConfig . Builder   clearHttpPorts ()  
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   EndpointConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   EndpointConfig . Builder   clone ()  
  
  Overrides 
  
  containsHttpPorts(String key) 
  
    
public   boolean   containsHttpPorts ( String   key )  
   Output only. The map of port descriptions to URLs. Will only be populated
 if enable_http_port_access is true.
 map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Parameter  
      
        Name Description  
      
        keyString  
     
  
  
  getDefaultInstanceForType() 
  
    
public   EndpointConfig   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getEnableHttpPortAccess() 
  
    
public   boolean   getEnableHttpPortAccess ()  
   Optional. If true, enable http access to specific ports on the cluster
 from external sources. Defaults to false.
 bool enable_http_port_access = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The enableHttpPortAccess.
 
     
  
  getHttpPorts() (deprecated) 
  
    
public   Map<String , String >  getHttpPorts ()  
  
  
  getHttpPortsCount() 
  
    
public   int   getHttpPortsCount ()  
   Output only. The map of port descriptions to URLs. Will only be populated
 if enable_http_port_access is true.
 map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getHttpPortsMap() 
  
    
public   Map<String , String >  getHttpPortsMap ()  
   Output only. The map of port descriptions to URLs. Will only be populated
 if enable_http_port_access is true.
 map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getHttpPortsOrDefault(String key, String defaultValue) 
  
    
public   String   getHttpPortsOrDefault ( String   key ,   String   defaultValue )  
   Output only. The map of port descriptions to URLs. Will only be populated
 if enable_http_port_access is true.
 map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getHttpPortsOrThrow(String key) 
  
    
public   String   getHttpPortsOrThrow ( String   key )  
   Output only. The map of port descriptions to URLs. Will only be populated
 if enable_http_port_access is true.
 map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Parameter  
      
        Name Description  
      
        keyString  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String  
     
  
  getMutableHttpPorts() (deprecated) 
  
    
public   Map<String , String >  getMutableHttpPorts ()  
  Use alternate mutation accessors instead.
internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  internalGetMapField(int number) 
  
    
protected   MapField   internalGetMapField ( int   number )  
  
    
      
        Parameter  
      
        Name Description  
      
        numberint  
     
  
  
  Overrides 
  
  internalGetMutableMapField(int number) 
  
    
protected   MapField   internalGetMutableMapField ( int   number )  
  
    
      
        Parameter  
      
        Name Description  
      
        numberint  
     
  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(EndpointConfig other) 
  
    
public   EndpointConfig . Builder   mergeFrom ( EndpointConfig   other )  
  
  
  
    
public   EndpointConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   EndpointConfig . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   EndpointConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  putAllHttpPorts(Map<String,String> values) 
  
    
public   EndpointConfig . Builder   putAllHttpPorts ( Map<String , String >  values )  
   Output only. The map of port descriptions to URLs. Will only be populated
 if enable_http_port_access is true.
 map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
putHttpPorts(String key, String value) 
  
    
public   EndpointConfig . Builder   putHttpPorts ( String   key ,   String   value )  
   Output only. The map of port descriptions to URLs. Will only be populated
 if enable_http_port_access is true.
 map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
removeHttpPorts(String key) 
  
    
public   EndpointConfig . Builder   removeHttpPorts ( String   key )  
   Output only. The map of port descriptions to URLs. Will only be populated
 if enable_http_port_access is true.
 map<string, string> http_ports = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Parameter  
      
        Name Description  
      
        keyString  
     
  
  
  setEnableHttpPortAccess(boolean value) 
  
    
public   EndpointConfig . Builder   setEnableHttpPortAccess ( boolean   value )  
   Optional. If true, enable http access to specific ports on the cluster
 from external sources. Defaults to false.
 bool enable_http_port_access = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The enableHttpPortAccess to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   EndpointConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   EndpointConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   EndpointConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]