Class ProjectsGetXpnResources (1.11.0)

public final class ProjectsGetXpnResources extends GeneratedMessageV3 implements ProjectsGetXpnResourcesOrBuilder

Protobuf type google.cloud.compute.v1.ProjectsGetXpnResources

Static Fields

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCES_FIELD_NUMBER

public static final int RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProjectsGetXpnResources getDefaultInstance()
Returns
TypeDescription
ProjectsGetXpnResources

getDescriptor()

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

newBuilder()

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

newBuilder(ProjectsGetXpnResources prototype)

public static ProjectsGetXpnResources.Builder newBuilder(ProjectsGetXpnResources prototype)
Parameter
NameDescription
prototypeProjectsGetXpnResources
Returns
TypeDescription
ProjectsGetXpnResources.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ProjectsGetXpnResources getDefaultInstanceForType()
Returns
TypeDescription
ProjectsGetXpnResources

getKind()

public String getKind()

[Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service resources (a.k.a service projects)

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service resources (a.k.a service projects)

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getNextPageToken()

public String getNextPageToken()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getResources(int index)

public XpnResourceId getResources(int index)

Service resources (a.k.a service projects) attached to this project as their shared VPC host.

repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965;

Parameter
NameDescription
indexint
Returns
TypeDescription
XpnResourceId

getResourcesCount()

public int getResourcesCount()

Service resources (a.k.a service projects) attached to this project as their shared VPC host.

repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965;

Returns
TypeDescription
int

getResourcesList()

public List<XpnResourceId> getResourcesList()

Service resources (a.k.a service projects) attached to this project as their shared VPC host.

repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965;

Returns
TypeDescription
List<XpnResourceId>

getResourcesOrBuilder(int index)

public XpnResourceIdOrBuilder getResourcesOrBuilder(int index)

Service resources (a.k.a service projects) attached to this project as their shared VPC host.

repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965;

Parameter
NameDescription
indexint
Returns
TypeDescription
XpnResourceIdOrBuilder

getResourcesOrBuilderList()

public List<? extends XpnResourceIdOrBuilder> getResourcesOrBuilderList()

Service resources (a.k.a service projects) attached to this project as their shared VPC host.

repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.XpnResourceIdOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasKind()

public boolean hasKind()

[Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service resources (a.k.a service projects)

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasNextPageToken()

public boolean hasNextPageToken()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
boolean

Whether the nextPageToken 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 ProjectsGetXpnResources.Builder newBuilderForType()
Returns
TypeDescription
ProjectsGetXpnResources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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