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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ProjectsGetXpnResources.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ProjectsGetXpnResources.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ProjectsGetXpnResources.Builder>
    • getDefaultInstanceForType

      public ProjectsGetXpnResources getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ProjectsGetXpnResources build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ProjectsGetXpnResources buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ProjectsGetXpnResources.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProjectsGetXpnResources.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasKind in interface ProjectsGetXpnResourcesOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String 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:
      getKind in interface ProjectsGetXpnResourcesOrBuilder
      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:
      getKindBytes in interface ProjectsGetXpnResourcesOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public ProjectsGetXpnResources.Builder setKind(String value)
       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

      public ProjectsGetXpnResources.Builder 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

      public ProjectsGetXpnResources.Builder setKindBytes(com.google.protobuf.ByteString value)
       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:
      hasNextPageToken in interface ProjectsGetXpnResourcesOrBuilder
      Returns:
      Whether the nextPageToken field is set.
    • getNextPageToken

      public String 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:
      getNextPageToken in interface ProjectsGetXpnResourcesOrBuilder
      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:
      getNextPageTokenBytes in interface ProjectsGetXpnResourcesOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ProjectsGetXpnResources.Builder setNextPageToken(String value)
       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

      public ProjectsGetXpnResources.Builder 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

      public ProjectsGetXpnResources.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       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

      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;
      Specified by:
      getResourcesList in interface ProjectsGetXpnResourcesOrBuilder
    • 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:
      getResourcesCount in interface ProjectsGetXpnResourcesOrBuilder
    • getResources

      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;
      Specified by:
      getResources in interface ProjectsGetXpnResourcesOrBuilder
    • setResources

      public ProjectsGetXpnResources.Builder setResources(int index, XpnResourceId value)
       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

      public ProjectsGetXpnResources.Builder addResources(XpnResourceId value)
       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 value)
       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(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

      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

      public ProjectsGetXpnResources.Builder addAllResources(Iterable<? extends XpnResourceId> values)
       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

      public ProjectsGetXpnResources.Builder 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

      public ProjectsGetXpnResources.Builder removeResources(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;
    • getResourcesBuilder

      public XpnResourceId.Builder getResourcesBuilder(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;
    • getResourcesOrBuilder

      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;
      Specified by:
      getResourcesOrBuilder in interface ProjectsGetXpnResourcesOrBuilder
    • 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;
      Specified by:
      getResourcesOrBuilderList in interface ProjectsGetXpnResourcesOrBuilder
    • addResourcesBuilder

      public XpnResourceId.Builder 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

      public XpnResourceId.Builder addResourcesBuilder(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;
    • getResourcesBuilderList

      public List<XpnResourceId.Builder> 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;