Class PublicAdvertisedPrefixPublicDelegatedPrefix (1.55.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PublicAdvertisedPrefixPublicDelegatedPrefix

Static Fields

IP_RANGE_FIELD_NUMBER

public static final int IP_RANGE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PublicAdvertisedPrefixPublicDelegatedPrefix getDefaultInstance()
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilder()
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

newBuilder(PublicAdvertisedPrefixPublicDelegatedPrefix prototype)

public static PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilder(PublicAdvertisedPrefixPublicDelegatedPrefix prototype)
Parameter
Name Description
prototype PublicAdvertisedPrefixPublicDelegatedPrefix
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

parseDelimitedFrom(InputStream input)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PublicAdvertisedPrefixPublicDelegatedPrefix> parser()
Returns
Type Description
Parser<PublicAdvertisedPrefixPublicDelegatedPrefix>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PublicAdvertisedPrefixPublicDelegatedPrefix getDefaultInstanceForType()
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix

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
Type Description
ByteString

The bytes for ipRange.

getName()

public String 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
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<PublicAdvertisedPrefixPublicDelegatedPrefix> getParserForType()
Returns
Type Description
Parser<PublicAdvertisedPrefixPublicDelegatedPrefix>
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
Type Description
ByteString

The bytes for project.

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
Type Description
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
ByteString

The bytes for status.

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()

public boolean 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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilderForType()
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder toBuilder()
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException