public final class PublicAdvertisedPrefixPublicDelegatedPrefix extends GeneratedMessageV3 implements PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder
Represents a CIDR range which can be used to assign addresses.
Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix
Static Fields
IP_RANGE_FIELD_NUMBER
public static final int IP_RANGE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
Field Value
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PublicAdvertisedPrefixPublicDelegatedPrefix getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilder()
Returns
newBuilder(PublicAdvertisedPrefixPublicDelegatedPrefix prototype)
public static PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilder(PublicAdvertisedPrefixPublicDelegatedPrefix prototype)
Parameter
Returns
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PublicAdvertisedPrefixPublicDelegatedPrefix> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PublicAdvertisedPrefixPublicDelegatedPrefix getDefaultInstanceForType()
Returns
getIpRange()
public String getIpRange()
The IP address range of the public delegated prefix
optional string ip_range = 145092645;
Returns
Type | Description |
String | The ipRange.
|
getIpRangeBytes()
public ByteString getIpRangeBytes()
The IP address range of the public delegated prefix
optional string ip_range = 145092645;
Returns
getName()
The name of the public delegated prefix
optional string name = 3373707;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The name of the public delegated prefix
optional string name = 3373707;
Returns
getParserForType()
public Parser<PublicAdvertisedPrefixPublicDelegatedPrefix> getParserForType()
Returns
Overrides
getProject()
public String getProject()
The project number of the public delegated prefix
optional string project = 227560217;
Returns
Type | Description |
String | The project.
|
getProjectBytes()
public ByteString getProjectBytes()
The project number of the public delegated prefix
optional string project = 227560217;
Returns
getRegion()
public String getRegion()
The region of the public delegated prefix if it is regional. If absent, the prefix is global.
optional string region = 138946292;
Returns
Type | Description |
String | The region.
|
getRegionBytes()
public ByteString getRegionBytes()
The region of the public delegated prefix if it is regional. If absent, the prefix is global.
optional string region = 138946292;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStatus()
public String getStatus()
The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
optional string status = 181260274;
Returns
Type | Description |
String | The status.
|
getStatusBytes()
public ByteString getStatusBytes()
The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
optional string status = 181260274;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasIpRange()
public boolean hasIpRange()
The IP address range of the public delegated prefix
optional string ip_range = 145092645;
Returns
Type | Description |
boolean | Whether the ipRange field is set.
|
hasName()
The name of the public delegated prefix
optional string name = 3373707;
Returns
Type | Description |
boolean | Whether the name field is set.
|
hasProject()
public boolean hasProject()
The project number of the public delegated prefix
optional string project = 227560217;
Returns
Type | Description |
boolean | Whether the project field is set.
|
hasRegion()
public boolean hasRegion()
The region of the public delegated prefix if it is regional. If absent, the prefix is global.
optional string region = 138946292;
Returns
Type | Description |
boolean | Whether the region field is set.
|
hasStatus()
public boolean hasStatus()
The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.
optional string status = 181260274;
Returns
Type | Description |
boolean | Whether the status field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions