public static final class MasterAuthorizedNetworksConfig.CidrBlock extends GeneratedMessageV3 implements MasterAuthorizedNetworksConfig.CidrBlockOrBuilder
CidrBlock contains an optional name and one CIDR block.
Protobuf type google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MasterAuthorizedNetworksConfig.CidrBlockStatic Fields
CIDR_BLOCK_FIELD_NUMBER
public static final int CIDR_BLOCK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstance()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilder()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
newBuilder(MasterAuthorizedNetworksConfig.CidrBlock prototype)
public static MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilder(MasterAuthorizedNetworksConfig.CidrBlock prototype)
Parameter | |
---|---|
Name | Description |
prototype |
MasterAuthorizedNetworksConfig.CidrBlock |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
parseDelimitedFrom(InputStream input)
public static MasterAuthorizedNetworksConfig.CidrBlock parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig.CidrBlock parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig.CidrBlock parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MasterAuthorizedNetworksConfig.CidrBlock> parser()
Returns | |
---|---|
Type | Description |
Parser<CidrBlock> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getCidrBlock()
public String getCidrBlock()
Optional. cidr_block must be specified in CIDR notation when using master_authorized_networks_config. Currently, the user could still use the deprecated man_block field, so this field is currently optional, but will be required in the future.
string cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The cidrBlock. |
getCidrBlockBytes()
public ByteString getCidrBlockBytes()
Optional. cidr_block must be specified in CIDR notation when using master_authorized_networks_config. Currently, the user could still use the deprecated man_block field, so this field is currently optional, but will be required in the future.
string cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cidrBlock. |
getDefaultInstanceForType()
public MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock |
getDisplayName()
public String getDisplayName()
Optional. display_name is an optional field for users to identify CIDR blocks.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. display_name is an optional field for users to identify CIDR blocks.
string display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getParserForType()
public Parser<MasterAuthorizedNetworksConfig.CidrBlock> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CidrBlock> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MasterAuthorizedNetworksConfig.CidrBlock.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder toBuilder()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |