Class PublicDelegatedPrefixPublicDelegatedSubPrefix (1.39.0)

public final class PublicDelegatedPrefixPublicDelegatedSubPrefix extends GeneratedMessageV3 implements PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder

Represents a sub PublicDelegatedPrefix.

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix

Inheritance

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

Static Fields

DELEGATEE_PROJECT_FIELD_NUMBER

public static final int DELEGATEE_PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

IP_CIDR_RANGE_FIELD_NUMBER

public static final int IP_CIDR_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

IS_ADDRESS_FIELD_NUMBER

public static final int IS_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_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 PublicDelegatedPrefixPublicDelegatedSubPrefix getDefaultInstance()
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix

getDescriptor()

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

newBuilder()

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

newBuilder(PublicDelegatedPrefixPublicDelegatedSubPrefix prototype)

public static PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder newBuilder(PublicDelegatedPrefixPublicDelegatedSubPrefix prototype)
Parameter
NameDescription
prototypePublicDelegatedPrefixPublicDelegatedSubPrefix
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PublicDelegatedPrefixPublicDelegatedSubPrefix getDefaultInstanceForType()
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix

getDelegateeProject()

public String getDelegateeProject()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
TypeDescription
String

The delegateeProject.

getDelegateeProjectBytes()

public ByteString getDelegateeProjectBytes()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
TypeDescription
ByteString

The bytes for delegateeProject.

getDescription()

public String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getIpCidrRange()

public String getIpCidrRange()

The IP address range, in CIDR format, represented by this sub public delegated prefix.

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
String

The ipCidrRange.

getIpCidrRangeBytes()

public ByteString getIpCidrRangeBytes()

The IP address range, in CIDR format, represented by this sub public delegated prefix.

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
ByteString

The bytes for ipCidrRange.

getIsAddress()

public boolean getIsAddress()

Whether the sub prefix is delegated to create Address resources in the delegatee project.

optional bool is_address = 352617951;

Returns
TypeDescription
boolean

The isAddress.

getName()

public String getName()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getRegion()

public String getRegion()

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

optional string region = 138946292;

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub 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()

[Output Only] The status of the sub public delegated prefix. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

[Output Only] The status of the sub public delegated prefix. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

hasDelegateeProject()

public boolean hasDelegateeProject()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
TypeDescription
boolean

Whether the delegateeProject field is set.

hasDescription()

public boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hasIpCidrRange()

public boolean hasIpCidrRange()

The IP address range, in CIDR format, represented by this sub public delegated prefix.

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
boolean

Whether the ipCidrRange field is set.

hasIsAddress()

public boolean hasIsAddress()

Whether the sub prefix is delegated to create Address resources in the delegatee project.

optional bool is_address = 352617951;

Returns
TypeDescription
boolean

Whether the isAddress field is set.

hasName()

public boolean hasName()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasRegion()

public boolean hasRegion()

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

optional string region = 138946292;

Returns
TypeDescription
boolean

Whether the region field is set.

hasStatus()

public boolean hasStatus()

[Output Only] The status of the sub public delegated prefix. Check the Status enum for the list of possible values.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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