Class PublicAdvertisedPrefixPublicDelegatedPrefix (1.50.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PublicAdvertisedPrefixPublicDelegatedPrefix getDefaultInstance()
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix

getDescriptor()

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

newBuilder()

public static PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilder()
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

newBuilder(PublicAdvertisedPrefixPublicDelegatedPrefix prototype)

public static PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilder(PublicAdvertisedPrefixPublicDelegatedPrefix prototype)
Parameter
NameDescription
prototypePublicAdvertisedPrefixPublicDelegatedPrefix
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

parseDelimitedFrom(InputStream input)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PublicAdvertisedPrefixPublicDelegatedPrefix parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PublicAdvertisedPrefixPublicDelegatedPrefix> parser()
Returns
TypeDescription
Parser<PublicAdvertisedPrefixPublicDelegatedPrefix>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PublicAdvertisedPrefixPublicDelegatedPrefix getDefaultInstanceForType()
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix

getIpRange()

public String getIpRange()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
TypeDescription
String

The ipRange.

getIpRangeBytes()

public ByteString getIpRangeBytes()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
TypeDescription
ByteString

The bytes for ipRange.

getName()

public String getName()

The name of the public delegated prefix

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the public delegated prefix

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<PublicAdvertisedPrefixPublicDelegatedPrefix> getParserForType()
Returns
TypeDescription
Parser<PublicAdvertisedPrefixPublicDelegatedPrefix>
Overrides

getProject()

public String getProject()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for region.

getSerializedSize()

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

The bytes for status.

hasIpRange()

public boolean hasIpRange()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
TypeDescription
boolean

Whether the ipRange field is set.

hasName()

public boolean hasName()

The name of the public delegated prefix

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasProject()

public boolean hasProject()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the status field is set.

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 PublicAdvertisedPrefixPublicDelegatedPrefix.Builder newBuilderForType()
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder toBuilder()
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

writeTo(CodedOutputStream output)

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