Class ServiceExternalIPsConfig.Builder (2.9.0)

public static final class ServiceExternalIPsConfig.Builder extends GeneratedMessageV3.Builder<ServiceExternalIPsConfig.Builder> implements ServiceExternalIPsConfigOrBuilder

Config to block services with externalIPs field.

Protobuf type google.container.v1beta1.ServiceExternalIPsConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceExternalIPsConfig build()
Returns
TypeDescription
ServiceExternalIPsConfig

buildPartial()

public ServiceExternalIPsConfig buildPartial()
Returns
TypeDescription
ServiceExternalIPsConfig

clear()

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

clearEnabled()

public ServiceExternalIPsConfig.Builder clearEnabled()

Whether Services with ExternalIPs field are allowed or not.

bool enabled = 1;

Returns
TypeDescription
ServiceExternalIPsConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ServiceExternalIPsConfig getDefaultInstanceForType()
Returns
TypeDescription
ServiceExternalIPsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether Services with ExternalIPs field are allowed or not.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ServiceExternalIPsConfig other)

public ServiceExternalIPsConfig.Builder mergeFrom(ServiceExternalIPsConfig other)
Parameter
NameDescription
otherServiceExternalIPsConfig
Returns
TypeDescription
ServiceExternalIPsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public ServiceExternalIPsConfig.Builder setEnabled(boolean value)

Whether Services with ExternalIPs field are allowed or not.

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
ServiceExternalIPsConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ServiceExternalIPsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ServiceExternalIPsConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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