Class TenantResource.Builder

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

    public static final class TenantResource.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TenantResource.Builder>
    implements TenantResourceOrBuilder
     a globally unique identifier for a resource in Responsive's
     metrics ecosystem
     
    Protobuf type responsive.metrics.v1.metrics.proto.TenantResource
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TenantResource build()  
      TenantResource buildPartial()  
      TenantResource.Builder clear()  
      TenantResource.Builder clearApplicationId()
      string applicationId = 2;
      TenantResource.Builder clearResource()  
      TenantResource.Builder clearTenant()
      the tenant in our system (organization ID) - we can always create a dedicated internal tenant for metrics that do not belong to any particular tenant
      java.lang.String getApplicationId()
      string applicationId = 2;
      com.google.protobuf.ByteString getApplicationIdBytes()
      string applicationId = 2;
      TenantResource getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      TenantResource.ResourceCase getResourceCase()  
      java.lang.String getTenant()
      the tenant in our system (organization ID) - we can always create a dedicated internal tenant for metrics that do not belong to any particular tenant
      com.google.protobuf.ByteString getTenantBytes()
      the tenant in our system (organization ID) - we can always create a dedicated internal tenant for metrics that do not belong to any particular tenant
      boolean hasApplicationId()
      string applicationId = 2;
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      TenantResource.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      TenantResource.Builder mergeFrom​(com.google.protobuf.Message other)  
      TenantResource.Builder mergeFrom​(TenantResource other)  
      TenantResource.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      TenantResource.Builder setApplicationId​(java.lang.String value)
      string applicationId = 2;
      TenantResource.Builder setApplicationIdBytes​(com.google.protobuf.ByteString value)
      string applicationId = 2;
      TenantResource.Builder setTenant​(java.lang.String value)
      the tenant in our system (organization ID) - we can always create a dedicated internal tenant for metrics that do not belong to any particular tenant
      TenantResource.Builder setTenantBytes​(com.google.protobuf.ByteString value)
      the tenant in our system (organization ID) - we can always create a dedicated internal tenant for metrics that do not belong to any particular tenant
      TenantResource.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 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<TenantResource.Builder>
      • clear

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

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

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

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

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

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

        public TenantResource.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<TenantResource.Builder>
        Throws:
        java.io.IOException
      • getTenant

        public java.lang.String getTenant()
         the tenant in our system (organization ID) - we can always
         create a dedicated internal tenant for metrics that do not
         belong to any particular tenant
         
        string tenant = 1;
        Specified by:
        getTenant in interface TenantResourceOrBuilder
        Returns:
        The tenant.
      • getTenantBytes

        public com.google.protobuf.ByteString getTenantBytes()
         the tenant in our system (organization ID) - we can always
         create a dedicated internal tenant for metrics that do not
         belong to any particular tenant
         
        string tenant = 1;
        Specified by:
        getTenantBytes in interface TenantResourceOrBuilder
        Returns:
        The bytes for tenant.
      • setTenant

        public TenantResource.Builder setTenant​(java.lang.String value)
         the tenant in our system (organization ID) - we can always
         create a dedicated internal tenant for metrics that do not
         belong to any particular tenant
         
        string tenant = 1;
        Parameters:
        value - The tenant to set.
        Returns:
        This builder for chaining.
      • clearTenant

        public TenantResource.Builder clearTenant()
         the tenant in our system (organization ID) - we can always
         create a dedicated internal tenant for metrics that do not
         belong to any particular tenant
         
        string tenant = 1;
        Returns:
        This builder for chaining.
      • setTenantBytes

        public TenantResource.Builder setTenantBytes​(com.google.protobuf.ByteString value)
         the tenant in our system (organization ID) - we can always
         create a dedicated internal tenant for metrics that do not
         belong to any particular tenant
         
        string tenant = 1;
        Parameters:
        value - The bytes for tenant to set.
        Returns:
        This builder for chaining.
      • hasApplicationId

        public boolean hasApplicationId()
        string applicationId = 2;
        Specified by:
        hasApplicationId in interface TenantResourceOrBuilder
        Returns:
        Whether the applicationId field is set.
      • getApplicationIdBytes

        public com.google.protobuf.ByteString getApplicationIdBytes()
        string applicationId = 2;
        Specified by:
        getApplicationIdBytes in interface TenantResourceOrBuilder
        Returns:
        The bytes for applicationId.
      • setApplicationId

        public TenantResource.Builder setApplicationId​(java.lang.String value)
        string applicationId = 2;
        Parameters:
        value - The applicationId to set.
        Returns:
        This builder for chaining.
      • clearApplicationId

        public TenantResource.Builder clearApplicationId()
        string applicationId = 2;
        Returns:
        This builder for chaining.
      • setApplicationIdBytes

        public TenantResource.Builder setApplicationIdBytes​(com.google.protobuf.ByteString value)
        string applicationId = 2;
        Parameters:
        value - The bytes for applicationId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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