Class ServiceExternalIPsConfig.Builder (2.45.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceExternalIPsConfig build()
Returns
Type Description
ServiceExternalIPsConfig

buildPartial()

public ServiceExternalIPsConfig buildPartial()
Returns
Type Description
ServiceExternalIPsConfig

clear()

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

clearEnabled()

public ServiceExternalIPsConfig.Builder clearEnabled()

Whether Services with ExternalIPs field are allowed or not.

bool enabled = 1;

Returns
Type Description
ServiceExternalIPsConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ServiceExternalIPsConfig getDefaultInstanceForType()
Returns
Type Description
ServiceExternalIPsConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether Services with ExternalIPs field are allowed or not.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServiceExternalIPsConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceExternalIPsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value boolean

The enabled to set.

Returns
Type Description
ServiceExternalIPsConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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