Package com.google.cloud.compute.v1
Class ProjectsGetXpnResources.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProjectsGetXpnResources.Builder>
com.google.cloud.compute.v1.ProjectsGetXpnResources.Builder
- All Implemented Interfaces:
ProjectsGetXpnResourcesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProjectsGetXpnResources
public static final class ProjectsGetXpnResources.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProjectsGetXpnResources.Builder>
implements ProjectsGetXpnResourcesOrBuilder
Protobuf type
google.cloud.compute.v1.ProjectsGetXpnResources-
Method Summary
Modifier and TypeMethodDescriptionaddAllResources(Iterable<? extends XpnResourceId> values) Service resources (a.k.a service projects) attached to this project as their shared VPC host.addResources(int index, XpnResourceId value) Service resources (a.k.a service projects) attached to this project as their shared VPC host.addResources(int index, XpnResourceId.Builder builderForValue) Service resources (a.k.a service projects) attached to this project as their shared VPC host.addResources(XpnResourceId value) Service resources (a.k.a service projects) attached to this project as their shared VPC host.addResources(XpnResourceId.Builder builderForValue) Service resources (a.k.a service projects) attached to this project as their shared VPC host.Service resources (a.k.a service projects) attached to this project as their shared VPC host.addResourcesBuilder(int index) Service resources (a.k.a service projects) attached to this project as their shared VPC host.build()clear()Output only.Output only.Service resources (a.k.a service projects) attached to this project as their shared VPC host.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKind()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getResources(int index) Service resources (a.k.a service projects) attached to this project as their shared VPC host.getResourcesBuilder(int index) Service resources (a.k.a service projects) attached to this project as their shared VPC host.Service resources (a.k.a service projects) attached to this project as their shared VPC host.intService resources (a.k.a service projects) attached to this project as their shared VPC host.Service resources (a.k.a service projects) attached to this project as their shared VPC host.getResourcesOrBuilder(int index) Service resources (a.k.a service projects) attached to this project as their shared VPC host.List<? extends XpnResourceIdOrBuilder>Service resources (a.k.a service projects) attached to this project as their shared VPC host.booleanhasKind()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ProjectsGetXpnResources other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeResources(int index) Service resources (a.k.a service projects) attached to this project as their shared VPC host.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setNextPageToken(String value) Output only.setNextPageTokenBytes(com.google.protobuf.ByteString value) Output only.setResources(int index, XpnResourceId value) Service resources (a.k.a service projects) attached to this project as their shared VPC host.setResources(int index, XpnResourceId.Builder builderForValue) Service resources (a.k.a service projects) attached to this project as their shared VPC host.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ProjectsGetXpnResources.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ProjectsGetXpnResources.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ProjectsGetXpnResources.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProjectsGetXpnResources.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProjectsGetXpnResources.Builder>
-
mergeFrom
public ProjectsGetXpnResources.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProjectsGetXpnResources.Builder>- Throws:
IOException
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of resource. Alwayscompute#projectsGetXpnResources for lists of service resources (a.k.a service projects)
optional string kind = 3292052;- Specified by:
hasKindin interfaceProjectsGetXpnResourcesOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of resource. Alwayscompute#projectsGetXpnResources for lists of service resources (a.k.a service projects)
optional string kind = 3292052;- Specified by:
getKindin interfaceProjectsGetXpnResourcesOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of resource. Alwayscompute#projectsGetXpnResources for lists of service resources (a.k.a service projects)
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceProjectsGetXpnResourcesOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of resource. Alwayscompute#projectsGetXpnResources for lists of service resources (a.k.a service projects)
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of resource. Alwayscompute#projectsGetXpnResources for lists of service resources (a.k.a service projects)
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of resource. Alwayscompute#projectsGetXpnResources for lists of service resources (a.k.a service projects)
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasNextPageToken
public boolean hasNextPageToken()Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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;- Specified by:
hasNextPageTokenin interfaceProjectsGetXpnResourcesOrBuilder- Returns:
- Whether the nextPageToken field is set.
-
getNextPageToken
Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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;- Specified by:
getNextPageTokenin interfaceProjectsGetXpnResourcesOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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;- Specified by:
getNextPageTokenBytesin interfaceProjectsGetXpnResourcesOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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:
- This builder for chaining.
-
setNextPageTokenBytes
Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getResourcesListin interfaceProjectsGetXpnResourcesOrBuilder
-
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;- Specified by:
getResourcesCountin interfaceProjectsGetXpnResourcesOrBuilder
-
getResources
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965;- Specified by:
getResourcesin interfaceProjectsGetXpnResourcesOrBuilder
-
setResources
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
setResources
public ProjectsGetXpnResources.Builder setResources(int index, XpnResourceId.Builder builderForValue) Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
addResources
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
addResources
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
addResources
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
addResources
public ProjectsGetXpnResources.Builder addResources(int index, XpnResourceId.Builder builderForValue) Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
addAllResources
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
clearResources
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
removeResources
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
getResourcesBuilder
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
getResourcesOrBuilder
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965;- Specified by:
getResourcesOrBuilderin interfaceProjectsGetXpnResourcesOrBuilder
-
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;- Specified by:
getResourcesOrBuilderListin interfaceProjectsGetXpnResourcesOrBuilder
-
addResourcesBuilder
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
addResourcesBuilder
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965; -
getResourcesBuilderList
Service resources (a.k.a service projects) attached to this project as their shared VPC host.
repeated .google.cloud.compute.v1.XpnResourceId resources = 164412965;
-