Class GKEMasterInfo.Builder (1.43.0)

public static final class GKEMasterInfo.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GKEMasterInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GKEMasterInfo.Builder
Overrides

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.

clearExternalIp()

public GKEMasterInfo.Builder clearExternalIp()

External IP address of a GKE cluster master.

string external_ip = 6;

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GKEMasterInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GKEMasterInfo.Builder
Overrides

clearInternalIp()

public GKEMasterInfo.Builder clearInternalIp()

Internal IP address of a GKE cluster master.

string internal_ip = 5;

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GKEMasterInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GKEMasterInfo.Builder
Overrides

clone()

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

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

getExternalIp()

public String getExternalIp()

External IP address of a GKE cluster master.

string external_ip = 6;

Returns
Type Description
String

The externalIp.

getExternalIpBytes()

public ByteString getExternalIpBytes()

External IP address of a GKE cluster master.

string external_ip = 6;

Returns
Type Description
ByteString

The bytes for externalIp.

getInternalIp()

public String getInternalIp()

Internal IP address of a GKE cluster master.

string internal_ip = 5;

Returns
Type Description
String

The internalIp.

getInternalIpBytes()

public ByteString getInternalIpBytes()

Internal IP address of a GKE cluster master.

string internal_ip = 5;

Returns
Type Description
ByteString

The bytes for internalIp.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GKEMasterInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setExternalIp(String value)

public GKEMasterInfo.Builder setExternalIp(String value)

External IP address of a GKE cluster master.

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 master.

string external_ip = 6;

Parameter
Name Description
value ByteString

The bytes for externalIp to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GKEMasterInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GKEMasterInfo.Builder
Overrides

setInternalIp(String value)

public GKEMasterInfo.Builder setInternalIp(String value)

Internal IP address of a GKE cluster master.

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 master.

string internal_ip = 5;

Parameter
Name Description
value ByteString

The bytes for internalIp to set.

Returns
Type Description
GKEMasterInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GKEMasterInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GKEMasterInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GKEMasterInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GKEMasterInfo.Builder
Overrides