Class MasterAuthorizedNetworksConfig.CidrBlock (2.31.0)

public static final class MasterAuthorizedNetworksConfig.CidrBlock extends GeneratedMessageV3 implements MasterAuthorizedNetworksConfig.CidrBlockOrBuilder

CidrBlock contains an optional name and one CIDR block.

Protobuf type google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MasterAuthorizedNetworksConfig.CidrBlock

Static Fields

CIDR_BLOCK_FIELD_NUMBER

public static final int CIDR_BLOCK_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstance()
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock

getDescriptor()

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

newBuilder()

public static MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilder()
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock.Builder

newBuilder(MasterAuthorizedNetworksConfig.CidrBlock prototype)

public static MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilder(MasterAuthorizedNetworksConfig.CidrBlock prototype)
Parameter
NameDescription
prototypeMasterAuthorizedNetworksConfig.CidrBlock
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock.Builder

parseDelimitedFrom(InputStream input)

public static MasterAuthorizedNetworksConfig.CidrBlock parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<MasterAuthorizedNetworksConfig.CidrBlock> parser()
Returns
TypeDescription
Parser<CidrBlock>

Methods

equals(Object obj)

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

getCidrBlock()

public String getCidrBlock()

cidr_block must be specified in CIDR notation.

string cidr_block = 2;

Returns
TypeDescription
String

The cidrBlock.

getCidrBlockBytes()

public ByteString getCidrBlockBytes()

cidr_block must be specified in CIDR notation.

string cidr_block = 2;

Returns
TypeDescription
ByteString

The bytes for cidrBlock.

getDefaultInstanceForType()

public MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType()
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock

getDisplayName()

public String getDisplayName()

display_name is an optional field for users to identify CIDR blocks.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

display_name is an optional field for users to identify CIDR blocks.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getParserForType()

public Parser<MasterAuthorizedNetworksConfig.CidrBlock> getParserForType()
Returns
TypeDescription
Parser<CidrBlock>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilderForType()
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public MasterAuthorizedNetworksConfig.CidrBlock.Builder toBuilder()
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock.Builder

writeTo(CodedOutputStream output)

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