Class ProjectsListXpnHostsRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ProjectsListXpnHostsRequest.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.GeneratedMessageV3.Builder<ProjectsListXpnHostsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ProjectsListXpnHostsRequest.Builder>
      • mergeFrom

        public ProjectsListXpnHostsRequest.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<ProjectsListXpnHostsRequest.Builder>
        Throws:
        IOException
      • hasOrganization

        public boolean hasOrganization()
         Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.
         
        optional string organization = 105180467;
        Specified by:
        hasOrganization in interface ProjectsListXpnHostsRequestOrBuilder
        Returns:
        Whether the organization field is set.
      • getOrganization

        public String getOrganization()
         Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.
         
        optional string organization = 105180467;
        Specified by:
        getOrganization in interface ProjectsListXpnHostsRequestOrBuilder
        Returns:
        The organization.
      • getOrganizationBytes

        public com.google.protobuf.ByteString getOrganizationBytes()
         Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.
         
        optional string organization = 105180467;
        Specified by:
        getOrganizationBytes in interface ProjectsListXpnHostsRequestOrBuilder
        Returns:
        The bytes for organization.
      • setOrganization

        public ProjectsListXpnHostsRequest.Builder setOrganization​(String value)
         Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.
         
        optional string organization = 105180467;
        Parameters:
        value - The organization to set.
        Returns:
        This builder for chaining.
      • clearOrganization

        public ProjectsListXpnHostsRequest.Builder clearOrganization()
         Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.
         
        optional string organization = 105180467;
        Returns:
        This builder for chaining.
      • setOrganizationBytes

        public ProjectsListXpnHostsRequest.Builder setOrganizationBytes​(com.google.protobuf.ByteString value)
         Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.
         
        optional string organization = 105180467;
        Parameters:
        value - The bytes for organization to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final ProjectsListXpnHostsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProjectsListXpnHostsRequest.Builder>