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 |
key | String
|
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];
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 |
key | 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 |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
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 |
other | Message
|
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 |
key | String
|
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.
|
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