Class GKEMasterInfo.Builder (1.84.0)

public static final class GKEMasterInfo.Builder extends GeneratedMessage.Builder<GKEMasterInfo.Builder> implements GKEMasterInfoOrBuilder

For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.

Protobuf type google.cloud.networkmanagement.v1.GKEMasterInfo

Static Methods

getDescriptor()

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

Methods

build()

public GKEMasterInfo build()
Returns
Type Description
GKEMasterInfo

buildPartial()

public GKEMasterInfo buildPartial()
Returns
Type Description
GKEMasterInfo

clear()

public GKEMasterInfo.Builder clear()
Returns
Type Description
GKEMasterInfo.Builder
Overrides

clearClusterNetworkUri()

public GKEMasterInfo.Builder clearClusterNetworkUri()

URI of a GKE cluster network.

string cluster_network_uri = 4;

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

clearClusterUri()

public GKEMasterInfo.Builder clearClusterUri()

URI of a GKE cluster.

string cluster_uri = 2;

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

clearDnsEndpoint()

public GKEMasterInfo.Builder clearDnsEndpoint()

DNS endpoint of a GKE cluster control plane.

string dns_endpoint = 7;

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

clearExternalIp()

public GKEMasterInfo.Builder clearExternalIp()

External IP address of a GKE cluster control plane.

string external_ip = 6;

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

clearInternalIp()

public GKEMasterInfo.Builder clearInternalIp()

Internal IP address of a GKE cluster control plane.

string internal_ip = 5;

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

getClusterNetworkUri()

public String getClusterNetworkUri()

URI of a GKE cluster network.

string cluster_network_uri = 4;

Returns
Type Description
String

The clusterNetworkUri.

getClusterNetworkUriBytes()

public ByteString getClusterNetworkUriBytes()

URI of a GKE cluster network.

string cluster_network_uri = 4;

Returns
Type Description
ByteString

The bytes for clusterNetworkUri.

getClusterUri()

public String getClusterUri()

URI of a GKE cluster.

string cluster_uri = 2;

Returns
Type Description
String

The clusterUri.

getClusterUriBytes()

public ByteString getClusterUriBytes()

URI of a GKE cluster.

string cluster_uri = 2;

Returns
Type Description
ByteString

The bytes for clusterUri.

getDefaultInstanceForType()

public GKEMasterInfo getDefaultInstanceForType()
Returns
Type Description
GKEMasterInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDnsEndpoint()

public String getDnsEndpoint()

DNS endpoint of a GKE cluster control plane.

string dns_endpoint = 7;

Returns
Type Description
String

The dnsEndpoint.

getDnsEndpointBytes()

public ByteString getDnsEndpointBytes()

DNS endpoint of a GKE cluster control plane.

string dns_endpoint = 7;

Returns
Type Description
ByteString

The bytes for dnsEndpoint.

getExternalIp()

public String getExternalIp()

External IP address of a GKE cluster control plane.

string external_ip = 6;

Returns
Type Description
String

The externalIp.

getExternalIpBytes()

public ByteString getExternalIpBytes()

External IP address of a GKE cluster control plane.

string external_ip = 6;

Returns
Type Description
ByteString

The bytes for externalIp.

getInternalIp()

public String getInternalIp()

Internal IP address of a GKE cluster control plane.

string internal_ip = 5;

Returns
Type Description
String

The internalIp.

getInternalIpBytes()

public ByteString getInternalIpBytes()

Internal IP address of a GKE cluster control plane.

string internal_ip = 5;

Returns
Type Description
ByteString

The bytes for internalIp.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GKEMasterInfo other)

public GKEMasterInfo.Builder mergeFrom(GKEMasterInfo other)
Parameter
Name Description
other GKEMasterInfo
Returns
Type Description
GKEMasterInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GKEMasterInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GKEMasterInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GKEMasterInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GKEMasterInfo.Builder
Overrides

setClusterNetworkUri(String value)

public GKEMasterInfo.Builder setClusterNetworkUri(String value)

URI of a GKE cluster network.

string cluster_network_uri = 4;

Parameter
Name Description
value String

The clusterNetworkUri to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setClusterNetworkUriBytes(ByteString value)

public GKEMasterInfo.Builder setClusterNetworkUriBytes(ByteString value)

URI of a GKE cluster network.

string cluster_network_uri = 4;

Parameter
Name Description
value ByteString

The bytes for clusterNetworkUri to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setClusterUri(String value)

public GKEMasterInfo.Builder setClusterUri(String value)

URI of a GKE cluster.

string cluster_uri = 2;

Parameter
Name Description
value String

The clusterUri to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setClusterUriBytes(ByteString value)

public GKEMasterInfo.Builder setClusterUriBytes(ByteString value)

URI of a GKE cluster.

string cluster_uri = 2;

Parameter
Name Description
value ByteString

The bytes for clusterUri to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setDnsEndpoint(String value)

public GKEMasterInfo.Builder setDnsEndpoint(String value)

DNS endpoint of a GKE cluster control plane.

string dns_endpoint = 7;

Parameter
Name Description
value String

The dnsEndpoint to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setDnsEndpointBytes(ByteString value)

public GKEMasterInfo.Builder setDnsEndpointBytes(ByteString value)

DNS endpoint of a GKE cluster control plane.

string dns_endpoint = 7;

Parameter
Name Description
value ByteString

The bytes for dnsEndpoint to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setExternalIp(String value)

public GKEMasterInfo.Builder setExternalIp(String value)

External IP address of a GKE cluster control plane.

string external_ip = 6;

Parameter
Name Description
value String

The externalIp to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setExternalIpBytes(ByteString value)

public GKEMasterInfo.Builder setExternalIpBytes(ByteString value)

External IP address of a GKE cluster control plane.

string external_ip = 6;

Parameter
Name Description
value ByteString

The bytes for externalIp to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setInternalIp(String value)

public GKEMasterInfo.Builder setInternalIp(String value)

Internal IP address of a GKE cluster control plane.

string internal_ip = 5;

Parameter
Name Description
value String

The internalIp to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setInternalIpBytes(ByteString value)

public GKEMasterInfo.Builder setInternalIpBytes(ByteString value)

Internal IP address of a GKE cluster control plane.

string internal_ip = 5;

Parameter
Name Description
value ByteString

The bytes for internalIp to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.