public static final class MasterAuthorizedNetworksConfig.CidrBlock extends GeneratedMessageV3 implements MasterAuthorizedNetworksConfig.CidrBlockOrBuilder
CidrBlock contains an optional name and one CIDR block.
Protobuf type google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock
Static Fields
CIDR_BLOCK_FIELD_NUMBER
public static final int CIDR_BLOCK_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilder()
Returns
newBuilder(MasterAuthorizedNetworksConfig.CidrBlock prototype)
public static MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilder(MasterAuthorizedNetworksConfig.CidrBlock prototype)
Parameter
Returns
public static MasterAuthorizedNetworksConfig.CidrBlock parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MasterAuthorizedNetworksConfig.CidrBlock parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MasterAuthorizedNetworksConfig.CidrBlock> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCidrBlock()
public String getCidrBlock()
cidr_block must be specified in CIDR notation.
string cidr_block = 2;
Returns
Type | Description |
String | The cidrBlock.
|
getCidrBlockBytes()
public ByteString getCidrBlockBytes()
cidr_block must be specified in CIDR notation.
string cidr_block = 2;
Returns
getDefaultInstanceForType()
public MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType()
Returns
getDisplayName()
public String getDisplayName()
display_name is an optional field for users to identify CIDR blocks.
string display_name = 1;
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
display_name is an optional field for users to identify CIDR blocks.
string display_name = 1;
Returns
Type | Description |
ByteString | The bytes for displayName.
|
getParserForType()
public Parser<MasterAuthorizedNetworksConfig.CidrBlock> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions