Class GetUsageRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GetUsageRequestOrBuilder, java.lang.Cloneable
    Enclosing class:
    GetUsageRequest

    public static final class GetUsageRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<GetUsageRequest.Builder>
    implements GetUsageRequestOrBuilder
    Protobuf type temporal.api.cloud.cloudservice.v1.GetUsageRequest
    • 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<GetUsageRequest.Builder>
      • clear

        public GetUsageRequest.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.GeneratedMessageV3.Builder<GetUsageRequest.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<GetUsageRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public GetUsageRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<GetUsageRequest.Builder>
      • setField

        public GetUsageRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<GetUsageRequest.Builder>
      • clearField

        public GetUsageRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetUsageRequest.Builder>
      • clearOneof

        public GetUsageRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetUsageRequest.Builder>
      • setRepeatedField

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

        public GetUsageRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetUsageRequest.Builder>
      • mergeFrom

        public GetUsageRequest.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<GetUsageRequest.Builder>
      • isInitialized

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

        public GetUsageRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws java.io.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<GetUsageRequest.Builder>
        Throws:
        java.io.IOException
      • hasStartTimeInclusive

        public boolean hasStartTimeInclusive()
         Filter for UTC time >= - optional.
         Defaults to: start of the current month.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp start_time_inclusive = 1;
        Specified by:
        hasStartTimeInclusive in interface GetUsageRequestOrBuilder
        Returns:
        Whether the startTimeInclusive field is set.
      • getStartTimeInclusive

        public com.google.protobuf.Timestamp getStartTimeInclusive()
         Filter for UTC time >= - optional.
         Defaults to: start of the current month.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp start_time_inclusive = 1;
        Specified by:
        getStartTimeInclusive in interface GetUsageRequestOrBuilder
        Returns:
        The startTimeInclusive.
      • setStartTimeInclusive

        public GetUsageRequest.Builder setStartTimeInclusive​(com.google.protobuf.Timestamp value)
         Filter for UTC time >= - optional.
         Defaults to: start of the current month.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp start_time_inclusive = 1;
      • setStartTimeInclusive

        public GetUsageRequest.Builder setStartTimeInclusive​(com.google.protobuf.Timestamp.Builder builderForValue)
         Filter for UTC time >= - optional.
         Defaults to: start of the current month.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp start_time_inclusive = 1;
      • mergeStartTimeInclusive

        public GetUsageRequest.Builder mergeStartTimeInclusive​(com.google.protobuf.Timestamp value)
         Filter for UTC time >= - optional.
         Defaults to: start of the current month.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp start_time_inclusive = 1;
      • clearStartTimeInclusive

        public GetUsageRequest.Builder clearStartTimeInclusive()
         Filter for UTC time >= - optional.
         Defaults to: start of the current month.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp start_time_inclusive = 1;
      • getStartTimeInclusiveBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeInclusiveBuilder()
         Filter for UTC time >= - optional.
         Defaults to: start of the current month.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp start_time_inclusive = 1;
      • getStartTimeInclusiveOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeInclusiveOrBuilder()
         Filter for UTC time >= - optional.
         Defaults to: start of the current month.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp start_time_inclusive = 1;
        Specified by:
        getStartTimeInclusiveOrBuilder in interface GetUsageRequestOrBuilder
      • hasEndTimeExclusive

        public boolean hasEndTimeExclusive()
         Filter for UTC time < - optional.
         Defaults to: start of the next UTC day.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp end_time_exclusive = 2;
        Specified by:
        hasEndTimeExclusive in interface GetUsageRequestOrBuilder
        Returns:
        Whether the endTimeExclusive field is set.
      • getEndTimeExclusive

        public com.google.protobuf.Timestamp getEndTimeExclusive()
         Filter for UTC time < - optional.
         Defaults to: start of the next UTC day.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp end_time_exclusive = 2;
        Specified by:
        getEndTimeExclusive in interface GetUsageRequestOrBuilder
        Returns:
        The endTimeExclusive.
      • setEndTimeExclusive

        public GetUsageRequest.Builder setEndTimeExclusive​(com.google.protobuf.Timestamp value)
         Filter for UTC time < - optional.
         Defaults to: start of the next UTC day.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp end_time_exclusive = 2;
      • setEndTimeExclusive

        public GetUsageRequest.Builder setEndTimeExclusive​(com.google.protobuf.Timestamp.Builder builderForValue)
         Filter for UTC time < - optional.
         Defaults to: start of the next UTC day.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp end_time_exclusive = 2;
      • mergeEndTimeExclusive

        public GetUsageRequest.Builder mergeEndTimeExclusive​(com.google.protobuf.Timestamp value)
         Filter for UTC time < - optional.
         Defaults to: start of the next UTC day.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp end_time_exclusive = 2;
      • clearEndTimeExclusive

        public GetUsageRequest.Builder clearEndTimeExclusive()
         Filter for UTC time < - optional.
         Defaults to: start of the next UTC day.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp end_time_exclusive = 2;
      • getEndTimeExclusiveBuilder

        public com.google.protobuf.Timestamp.Builder getEndTimeExclusiveBuilder()
         Filter for UTC time < - optional.
         Defaults to: start of the next UTC day.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp end_time_exclusive = 2;
      • getEndTimeExclusiveOrBuilder

        public com.google.protobuf.TimestampOrBuilder getEndTimeExclusiveOrBuilder()
         Filter for UTC time < - optional.
         Defaults to: start of the next UTC day.
         Must be: within the last 90 days from the current date.
         Must be: midnight UTC time.
         
        .google.protobuf.Timestamp end_time_exclusive = 2;
        Specified by:
        getEndTimeExclusiveOrBuilder in interface GetUsageRequestOrBuilder
      • getPageSize

        public int getPageSize()
         The requested size of the page to retrieve - optional.
         Each count corresponds to a single object - per day per namespace
         Cannot exceed 1000. Defaults to 100.
         
        int32 page_size = 3;
        Specified by:
        getPageSize in interface GetUsageRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public GetUsageRequest.Builder setPageSize​(int value)
         The requested size of the page to retrieve - optional.
         Each count corresponds to a single object - per day per namespace
         Cannot exceed 1000. Defaults to 100.
         
        int32 page_size = 3;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public GetUsageRequest.Builder clearPageSize()
         The requested size of the page to retrieve - optional.
         Each count corresponds to a single object - per day per namespace
         Cannot exceed 1000. Defaults to 100.
         
        int32 page_size = 3;
        Returns:
        This builder for chaining.
      • getPageToken

        public java.lang.String getPageToken()
         The page token if this is continuing from another response - optional.
         
        string page_token = 4;
        Specified by:
        getPageToken in interface GetUsageRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         The page token if this is continuing from another response - optional.
         
        string page_token = 4;
        Specified by:
        getPageTokenBytes in interface GetUsageRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public GetUsageRequest.Builder setPageToken​(java.lang.String value)
         The page token if this is continuing from another response - optional.
         
        string page_token = 4;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public GetUsageRequest.Builder clearPageToken()
         The page token if this is continuing from another response - optional.
         
        string page_token = 4;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public GetUsageRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         The page token if this is continuing from another response - optional.
         
        string page_token = 4;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final GetUsageRequest.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<GetUsageRequest.Builder>
      • mergeUnknownFields

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