Class GKEMasterInfo.Builder (0.14.1)

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.events.cloud.networkmanagement.v1.GKEMasterInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GKEMasterInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides

build()

public GKEMasterInfo build()
Returns
TypeDescription
GKEMasterInfo

buildPartial()

public GKEMasterInfo buildPartial()
Returns
TypeDescription
GKEMasterInfo

clear()

public GKEMasterInfo.Builder clear()
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides

clearClusterNetworkUri()

public GKEMasterInfo.Builder clearClusterNetworkUri()

URI of a GKE cluster network.

string cluster_network_uri = 4;

Returns
TypeDescription
GKEMasterInfo.Builder

This builder for chaining.

clearClusterUri()

public GKEMasterInfo.Builder clearClusterUri()

URI of a GKE cluster.

string cluster_uri = 2;

Returns
TypeDescription
GKEMasterInfo.Builder

This builder for chaining.

clearExternalIp()

public GKEMasterInfo.Builder clearExternalIp()

External IP address of a GKE cluster master.

string external_ip = 6;

Returns
TypeDescription
GKEMasterInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GKEMasterInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides

clearInternalIp()

public GKEMasterInfo.Builder clearInternalIp()

Internal IP address of a GKE cluster master.

string internal_ip = 5;

Returns
TypeDescription
GKEMasterInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GKEMasterInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides

clone()

public GKEMasterInfo.Builder clone()
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides

getClusterNetworkUri()

public String getClusterNetworkUri()

URI of a GKE cluster network.

string cluster_network_uri = 4;

Returns
TypeDescription
String

The clusterNetworkUri.

getClusterNetworkUriBytes()

public ByteString getClusterNetworkUriBytes()

URI of a GKE cluster network.

string cluster_network_uri = 4;

Returns
TypeDescription
ByteString

The bytes for clusterNetworkUri.

getClusterUri()

public String getClusterUri()

URI of a GKE cluster.

string cluster_uri = 2;

Returns
TypeDescription
String

The clusterUri.

getClusterUriBytes()

public ByteString getClusterUriBytes()

URI of a GKE cluster.

string cluster_uri = 2;

Returns
TypeDescription
ByteString

The bytes for clusterUri.

getDefaultInstanceForType()

public GKEMasterInfo getDefaultInstanceForType()
Returns
TypeDescription
GKEMasterInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExternalIp()

public String getExternalIp()

External IP address of a GKE cluster master.

string external_ip = 6;

Returns
TypeDescription
String

The externalIp.

getExternalIpBytes()

public ByteString getExternalIpBytes()

External IP address of a GKE cluster master.

string external_ip = 6;

Returns
TypeDescription
ByteString

The bytes for externalIp.

getInternalIp()

public String getInternalIp()

Internal IP address of a GKE cluster master.

string internal_ip = 5;

Returns
TypeDescription
String

The internalIp.

getInternalIpBytes()

public ByteString getInternalIpBytes()

Internal IP address of a GKE cluster master.

string internal_ip = 5;

Returns
TypeDescription
ByteString

The bytes for internalIp.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GKEMasterInfo other)

public GKEMasterInfo.Builder mergeFrom(GKEMasterInfo other)
Parameter
NameDescription
otherGKEMasterInfo
Returns
TypeDescription
GKEMasterInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GKEMasterInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GKEMasterInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GKEMasterInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides

setClusterNetworkUri(String value)

public GKEMasterInfo.Builder setClusterNetworkUri(String value)

URI of a GKE cluster network.

string cluster_network_uri = 4;

Parameter
NameDescription
valueString

The clusterNetworkUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for clusterNetworkUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The clusterUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for clusterUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The externalIp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for externalIp to set.

Returns
TypeDescription
GKEMasterInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GKEMasterInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The internalIp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for internalIp to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GKEMasterInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GKEMasterInfo.Builder
Overrides