Package com.buildless

Class Tenant.TenantBranding.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Tenant.TenantBranding.Builder>
com.buildless.Tenant.TenantBranding.Builder
All Implemented Interfaces:
Tenant.TenantBrandingOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Tenant.TenantBranding

public static final class Tenant.TenantBranding.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Tenant.TenantBranding.Builder> implements Tenant.TenantBrandingOrBuilder
 ### Tenant Branding

 Specifies customization/branding info for a given tenant. If supported, this information is used to customize the
 UI for members of a given tenant.
 
Protobuf type buildless.Tenant.TenantBranding
  • Method Details

    • 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<Tenant.TenantBranding.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<Tenant.TenantBranding.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<Tenant.TenantBranding.Builder>
    • getDefaultInstanceForType

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

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

      public Tenant.TenantBranding buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Tenant.TenantBranding.Builder>
    • setField

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

      public Tenant.TenantBranding.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<Tenant.TenantBranding.Builder>
    • clearOneof

      public Tenant.TenantBranding.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<Tenant.TenantBranding.Builder>
    • setRepeatedField

      public Tenant.TenantBranding.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<Tenant.TenantBranding.Builder>
    • addRepeatedField

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

      public Tenant.TenantBranding.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<Tenant.TenantBranding.Builder>
    • mergeFrom

    • isInitialized

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

      public Tenant.TenantBranding.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<Tenant.TenantBranding.Builder>
      Throws:
      IOException
    • getIcon

      public String getIcon()
       Specifies an icon URL to use for this tenant branding payload. The icon URL is used as the favicon, and in other
       circumstances where a square graphic is needed.
       
      string icon = 1 [json_name = "icon", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Specified by:
      getIcon in interface Tenant.TenantBrandingOrBuilder
      Returns:
      The icon.
    • getIconBytes

      public com.google.protobuf.ByteString getIconBytes()
       Specifies an icon URL to use for this tenant branding payload. The icon URL is used as the favicon, and in other
       circumstances where a square graphic is needed.
       
      string icon = 1 [json_name = "icon", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Specified by:
      getIconBytes in interface Tenant.TenantBrandingOrBuilder
      Returns:
      The bytes for icon.
    • setIcon

      public Tenant.TenantBranding.Builder setIcon(String value)
       Specifies an icon URL to use for this tenant branding payload. The icon URL is used as the favicon, and in other
       circumstances where a square graphic is needed.
       
      string icon = 1 [json_name = "icon", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Parameters:
      value - The icon to set.
      Returns:
      This builder for chaining.
    • clearIcon

      public Tenant.TenantBranding.Builder clearIcon()
       Specifies an icon URL to use for this tenant branding payload. The icon URL is used as the favicon, and in other
       circumstances where a square graphic is needed.
       
      string icon = 1 [json_name = "icon", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setIconBytes

      public Tenant.TenantBranding.Builder setIconBytes(com.google.protobuf.ByteString value)
       Specifies an icon URL to use for this tenant branding payload. The icon URL is used as the favicon, and in other
       circumstances where a square graphic is needed.
       
      string icon = 1 [json_name = "icon", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Parameters:
      value - The bytes for icon to set.
      Returns:
      This builder for chaining.
    • getLogo

      public String getLogo()
       Specifies a logo URL to use for this tenant branding payload. The logo URL is used in the header, and in other
       circumstances where a wide graphic is needed.
       
      string logo = 2 [json_name = "logo", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Specified by:
      getLogo in interface Tenant.TenantBrandingOrBuilder
      Returns:
      The logo.
    • getLogoBytes

      public com.google.protobuf.ByteString getLogoBytes()
       Specifies a logo URL to use for this tenant branding payload. The logo URL is used in the header, and in other
       circumstances where a wide graphic is needed.
       
      string logo = 2 [json_name = "logo", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Specified by:
      getLogoBytes in interface Tenant.TenantBrandingOrBuilder
      Returns:
      The bytes for logo.
    • setLogo

      public Tenant.TenantBranding.Builder setLogo(String value)
       Specifies a logo URL to use for this tenant branding payload. The logo URL is used in the header, and in other
       circumstances where a wide graphic is needed.
       
      string logo = 2 [json_name = "logo", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Parameters:
      value - The logo to set.
      Returns:
      This builder for chaining.
    • clearLogo

      public Tenant.TenantBranding.Builder clearLogo()
       Specifies a logo URL to use for this tenant branding payload. The logo URL is used in the header, and in other
       circumstances where a wide graphic is needed.
       
      string logo = 2 [json_name = "logo", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setLogoBytes

      public Tenant.TenantBranding.Builder setLogoBytes(com.google.protobuf.ByteString value)
       Specifies a logo URL to use for this tenant branding payload. The logo URL is used in the header, and in other
       circumstances where a wide graphic is needed.
       
      string logo = 2 [json_name = "logo", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }
      Parameters:
      value - The bytes for logo to set.
      Returns:
      This builder for chaining.
    • hasLight

      public boolean hasLight()
       Color scheme to use for this tenant when the `light` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors light = 3 [json_name = "light", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasLight in interface Tenant.TenantBrandingOrBuilder
      Returns:
      Whether the light field is set.
    • getLight

       Color scheme to use for this tenant when the `light` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors light = 3 [json_name = "light", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLight in interface Tenant.TenantBrandingOrBuilder
      Returns:
      The light.
    • setLight

       Color scheme to use for this tenant when the `light` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors light = 3 [json_name = "light", (.google.api.field_behavior) = OPTIONAL];
    • setLight

       Color scheme to use for this tenant when the `light` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors light = 3 [json_name = "light", (.google.api.field_behavior) = OPTIONAL];
    • mergeLight

       Color scheme to use for this tenant when the `light` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors light = 3 [json_name = "light", (.google.api.field_behavior) = OPTIONAL];
    • clearLight

      public Tenant.TenantBranding.Builder clearLight()
       Color scheme to use for this tenant when the `light` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors light = 3 [json_name = "light", (.google.api.field_behavior) = OPTIONAL];
    • getLightBuilder

       Color scheme to use for this tenant when the `light` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors light = 3 [json_name = "light", (.google.api.field_behavior) = OPTIONAL];
    • getLightOrBuilder

      public Tenant.TenantBranding.TenantColorsOrBuilder getLightOrBuilder()
       Color scheme to use for this tenant when the `light` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors light = 3 [json_name = "light", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLightOrBuilder in interface Tenant.TenantBrandingOrBuilder
    • hasDark

      public boolean hasDark()
       Color scheme to use for this tenant when the `dark` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors dark = 4 [json_name = "dark", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDark in interface Tenant.TenantBrandingOrBuilder
      Returns:
      Whether the dark field is set.
    • getDark

       Color scheme to use for this tenant when the `dark` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors dark = 4 [json_name = "dark", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDark in interface Tenant.TenantBrandingOrBuilder
      Returns:
      The dark.
    • setDark

       Color scheme to use for this tenant when the `dark` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors dark = 4 [json_name = "dark", (.google.api.field_behavior) = OPTIONAL];
    • setDark

       Color scheme to use for this tenant when the `dark` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors dark = 4 [json_name = "dark", (.google.api.field_behavior) = OPTIONAL];
    • mergeDark

       Color scheme to use for this tenant when the `dark` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors dark = 4 [json_name = "dark", (.google.api.field_behavior) = OPTIONAL];
    • clearDark

      public Tenant.TenantBranding.Builder clearDark()
       Color scheme to use for this tenant when the `dark` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors dark = 4 [json_name = "dark", (.google.api.field_behavior) = OPTIONAL];
    • getDarkBuilder

       Color scheme to use for this tenant when the `dark` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors dark = 4 [json_name = "dark", (.google.api.field_behavior) = OPTIONAL];
    • getDarkOrBuilder

       Color scheme to use for this tenant when the `dark` theme is active. If not present, default colors are used.
       
      .buildless.Tenant.TenantBranding.TenantColors dark = 4 [json_name = "dark", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDarkOrBuilder in interface Tenant.TenantBrandingOrBuilder
    • setUnknownFields

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

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