Class GetGuestAttributesRequest.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<GetGuestAttributesRequest.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<GetGuestAttributesRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public GetGuestAttributesRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetGuestAttributesRequest.Builder>
      • isInitialized

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

        public GetGuestAttributesRequest.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<GetGuestAttributesRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The resource name.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface GetGuestAttributesRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The resource name.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface GetGuestAttributesRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public GetGuestAttributesRequest.Builder setName​(String value)
         Required. The resource name.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public GetGuestAttributesRequest.Builder clearName()
         Required. The resource name.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public GetGuestAttributesRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The resource name.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getQueryPathBytes

        public com.google.protobuf.ByteString getQueryPathBytes()
         The guest attributes path to be queried.
         
        string query_path = 2;
        Specified by:
        getQueryPathBytes in interface GetGuestAttributesRequestOrBuilder
        Returns:
        The bytes for queryPath.
      • setQueryPath

        public GetGuestAttributesRequest.Builder setQueryPath​(String value)
         The guest attributes path to be queried.
         
        string query_path = 2;
        Parameters:
        value - The queryPath to set.
        Returns:
        This builder for chaining.
      • clearQueryPath

        public GetGuestAttributesRequest.Builder clearQueryPath()
         The guest attributes path to be queried.
         
        string query_path = 2;
        Returns:
        This builder for chaining.
      • setQueryPathBytes

        public GetGuestAttributesRequest.Builder setQueryPathBytes​(com.google.protobuf.ByteString value)
         The guest attributes path to be queried.
         
        string query_path = 2;
        Parameters:
        value - The bytes for queryPath to set.
        Returns:
        This builder for chaining.
      • getWorkerIdsList

        public com.google.protobuf.ProtocolStringList getWorkerIdsList()
         The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
         returned.
         
        repeated string worker_ids = 3;
        Specified by:
        getWorkerIdsList in interface GetGuestAttributesRequestOrBuilder
        Returns:
        A list containing the workerIds.
      • getWorkerIdsCount

        public int getWorkerIdsCount()
         The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
         returned.
         
        repeated string worker_ids = 3;
        Specified by:
        getWorkerIdsCount in interface GetGuestAttributesRequestOrBuilder
        Returns:
        The count of workerIds.
      • getWorkerIds

        public String getWorkerIds​(int index)
         The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
         returned.
         
        repeated string worker_ids = 3;
        Specified by:
        getWorkerIds in interface GetGuestAttributesRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The workerIds at the given index.
      • getWorkerIdsBytes

        public com.google.protobuf.ByteString getWorkerIdsBytes​(int index)
         The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
         returned.
         
        repeated string worker_ids = 3;
        Specified by:
        getWorkerIdsBytes in interface GetGuestAttributesRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the workerIds at the given index.
      • setWorkerIds

        public GetGuestAttributesRequest.Builder setWorkerIds​(int index,
                                                              String value)
         The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
         returned.
         
        repeated string worker_ids = 3;
        Parameters:
        index - The index to set the value at.
        value - The workerIds to set.
        Returns:
        This builder for chaining.
      • addWorkerIds

        public GetGuestAttributesRequest.Builder addWorkerIds​(String value)
         The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
         returned.
         
        repeated string worker_ids = 3;
        Parameters:
        value - The workerIds to add.
        Returns:
        This builder for chaining.
      • addAllWorkerIds

        public GetGuestAttributesRequest.Builder addAllWorkerIds​(Iterable<String> values)
         The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
         returned.
         
        repeated string worker_ids = 3;
        Parameters:
        values - The workerIds to add.
        Returns:
        This builder for chaining.
      • clearWorkerIds

        public GetGuestAttributesRequest.Builder clearWorkerIds()
         The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
         returned.
         
        repeated string worker_ids = 3;
        Returns:
        This builder for chaining.
      • addWorkerIdsBytes

        public GetGuestAttributesRequest.Builder addWorkerIdsBytes​(com.google.protobuf.ByteString value)
         The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
         returned.
         
        repeated string worker_ids = 3;
        Parameters:
        value - The bytes of the workerIds to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final GetGuestAttributesRequest.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<GetGuestAttributesRequest.Builder>