Class ServiceExternalIPsConfig (2.5.0)

public final class ServiceExternalIPsConfig extends GeneratedMessageV3 implements ServiceExternalIPsConfigOrBuilder

Config to block services with externalIPs field.

Protobuf type google.container.v1.ServiceExternalIPsConfig

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServiceExternalIPsConfig getDefaultInstance()
Returns
TypeDescription
ServiceExternalIPsConfig

getDescriptor()

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

newBuilder()

public static ServiceExternalIPsConfig.Builder newBuilder()
Returns
TypeDescription
ServiceExternalIPsConfig.Builder

newBuilder(ServiceExternalIPsConfig prototype)

public static ServiceExternalIPsConfig.Builder newBuilder(ServiceExternalIPsConfig prototype)
Parameter
NameDescription
prototypeServiceExternalIPsConfig
Returns
TypeDescription
ServiceExternalIPsConfig.Builder

parseDelimitedFrom(InputStream input)

public static ServiceExternalIPsConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceExternalIPsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ServiceExternalIPsConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceExternalIPsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceExternalIPsConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceExternalIPsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceExternalIPsConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceExternalIPsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ServiceExternalIPsConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceExternalIPsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ServiceExternalIPsConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceExternalIPsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceExternalIPsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ServiceExternalIPsConfig> parser()
Returns
TypeDescription
Parser<ServiceExternalIPsConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ServiceExternalIPsConfig getDefaultInstanceForType()
Returns
TypeDescription
ServiceExternalIPsConfig

getEnabled()

public boolean getEnabled()

Whether Services with ExternalIPs field are allowed or not.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getParserForType()

public Parser<ServiceExternalIPsConfig> getParserForType()
Returns
TypeDescription
Parser<ServiceExternalIPsConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ServiceExternalIPsConfig.Builder newBuilderForType()
Returns
TypeDescription
ServiceExternalIPsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceExternalIPsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ServiceExternalIPsConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ServiceExternalIPsConfig.Builder toBuilder()
Returns
TypeDescription
ServiceExternalIPsConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException