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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EndpointConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EndpointConfig build()
Returns
buildPartial()
public EndpointConfig buildPartial()
Returns
clear()
public EndpointConfig.Builder clear()
Returns
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public EndpointConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHttpPorts()
public EndpointConfig.Builder clearHttpPorts()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public EndpointConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public EndpointConfig.Builder clone()
Returns
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
Returns
getDefaultInstanceForType()
public EndpointConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
public Map<String,String> getHttpPorts()
Returns
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
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];
Returns
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];
Parameters
Returns
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
Returns
getMutableHttpPorts()
public Map<String,String> getMutableHttpPorts()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(EndpointConfig other)
public EndpointConfig.Builder mergeFrom(EndpointConfig other)
Parameter
Returns
public EndpointConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EndpointConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EndpointConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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];
Parameters
Returns
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
Returns
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 |
value | boolean
The enableHttpPortAccess to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EndpointConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EndpointConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EndpointConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides