Class ControlPlaneEndpointsConfig.DNSEndpointConfig (2.56.0)

public static final class ControlPlaneEndpointsConfig.DNSEndpointConfig extends GeneratedMessageV3 implements ControlPlaneEndpointsConfig.DNSEndpointConfigOrBuilder

Describes the configuration of a DNS endpoint.

Protobuf type google.container.v1.ControlPlaneEndpointsConfig.DNSEndpointConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ControlPlaneEndpointsConfig.DNSEndpointConfig

Static Fields

ALLOW_EXTERNAL_TRAFFIC_FIELD_NUMBER

public static final int ALLOW_EXTERNAL_TRAFFIC_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ControlPlaneEndpointsConfig.DNSEndpointConfig getDefaultInstance()
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder newBuilder()
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder

newBuilder(ControlPlaneEndpointsConfig.DNSEndpointConfig prototype)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder newBuilder(ControlPlaneEndpointsConfig.DNSEndpointConfig prototype)
Parameter
Name Description
prototype ControlPlaneEndpointsConfig.DNSEndpointConfig
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder

parseDelimitedFrom(InputStream input)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ControlPlaneEndpointsConfig.DNSEndpointConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ControlPlaneEndpointsConfig.DNSEndpointConfig> parser()
Returns
Type Description
Parser<DNSEndpointConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAllowExternalTraffic()

public boolean getAllowExternalTraffic()

Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may still use the endpoint even if this is false.

optional bool allow_external_traffic = 3;

Returns
Type Description
boolean

The allowExternalTraffic.

getDefaultInstanceForType()

public ControlPlaneEndpointsConfig.DNSEndpointConfig getDefaultInstanceForType()
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig

getEndpoint()

public String getEndpoint()

Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic.

string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic.

string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for endpoint.

getParserForType()

public Parser<ControlPlaneEndpointsConfig.DNSEndpointConfig> getParserForType()
Returns
Type Description
Parser<DNSEndpointConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAllowExternalTraffic()

public boolean hasAllowExternalTraffic()

Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may still use the endpoint even if this is false.

optional bool allow_external_traffic = 3;

Returns
Type Description
boolean

Whether the allowExternalTraffic field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder newBuilderForType()
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder toBuilder()
Returns
Type Description
ControlPlaneEndpointsConfig.DNSEndpointConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException