Class EndpointConfig (4.0.8)

public final class EndpointConfig extends GeneratedMessageV3 implements EndpointConfigOrBuilder

Endpoint config for this cluster

Protobuf type google.cloud.dataproc.v1.EndpointConfig

Static Fields

ENABLE_HTTP_PORT_ACCESS_FIELD_NUMBER

public static final int ENABLE_HTTP_PORT_ACCESS_FIELD_NUMBER
Field Value
TypeDescription
int

HTTP_PORTS_FIELD_NUMBER

public static final int HTTP_PORTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EndpointConfig getDefaultInstance()
Returns
TypeDescription
EndpointConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EndpointConfig.Builder newBuilder()
Returns
TypeDescription
EndpointConfig.Builder

newBuilder(EndpointConfig prototype)

public static EndpointConfig.Builder newBuilder(EndpointConfig prototype)
Parameter
NameDescription
prototypeEndpointConfig
Returns
TypeDescription
EndpointConfig.Builder

parseDelimitedFrom(InputStream input)

public static EndpointConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EndpointConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EndpointConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EndpointConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EndpointConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EndpointConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EndpointConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EndpointConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EndpointConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EndpointConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EndpointConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EndpointConfig> parser()
Returns
TypeDescription
Parser<EndpointConfig>

Methods

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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EndpointConfig getDefaultInstanceForType()
Returns
TypeDescription
EndpointConfig

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
TypeDescription
boolean

The enableHttpPortAccess.

getHttpPorts()

public Map<String,String> getHttpPorts()

Use #getHttpPortsMap() instead.

Returns
TypeDescription
Map<String,String>

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
TypeDescription
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];

Returns
TypeDescription
Map<String,String>

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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getParserForType()

public Parser<EndpointConfig> getParserForType()
Returns
TypeDescription
Parser<EndpointConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EndpointConfig.Builder newBuilderForType()
Returns
TypeDescription
EndpointConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EndpointConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EndpointConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EndpointConfig.Builder toBuilder()
Returns
TypeDescription
EndpointConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException