Class Brand.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Brand.Builder>
com.google.cloud.iap.v1.Brand.Builder
All Implemented Interfaces:
BrandOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Brand

public static final class Brand.Builder extends com.google.protobuf.GeneratedMessage.Builder<Brand.Builder> implements BrandOrBuilder
 OAuth brand data.
 NOTE: Only contains a portion of the data that describes a brand.
 
Protobuf type google.cloud.iap.v1.Brand
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Application name displayed on OAuth consent screen.
    Output only.
    Output only.
    Support email displayed on the OAuth consent screen.
    Application name displayed on OAuth consent screen.
    com.google.protobuf.ByteString
    Application name displayed on OAuth consent screen.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.
    Support email displayed on the OAuth consent screen.
    com.google.protobuf.ByteString
    Support email displayed on the OAuth consent screen.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Application name displayed on OAuth consent screen.
    setApplicationTitleBytes(com.google.protobuf.ByteString value)
    Application name displayed on OAuth consent screen.
    setName(String value)
    Output only.
    setNameBytes(com.google.protobuf.ByteString value)
    Output only.
    setOrgInternalOnly(boolean value)
    Output only.
    Support email displayed on the OAuth consent screen.
    setSupportEmailBytes(com.google.protobuf.ByteString value)
    Support email displayed on the OAuth consent screen.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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 Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Brand.Builder>
    • clear

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

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

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

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

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

      public Brand.Builder mergeFrom(Brand other)
    • isInitialized

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

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

      public String getName()
       Output only. Identifier of the brand.
       NOTE: GCP project number achieves the same brand identification purpose as
       only one brand per project can be created.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface BrandOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Identifier of the brand.
       NOTE: GCP project number achieves the same brand identification purpose as
       only one brand per project can be created.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface BrandOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Brand.Builder setName(String value)
       Output only. Identifier of the brand.
       NOTE: GCP project number achieves the same brand identification purpose as
       only one brand per project can be created.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Brand.Builder clearName()
       Output only. Identifier of the brand.
       NOTE: GCP project number achieves the same brand identification purpose as
       only one brand per project can be created.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Brand.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. Identifier of the brand.
       NOTE: GCP project number achieves the same brand identification purpose as
       only one brand per project can be created.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getSupportEmail

      public String getSupportEmail()
       Support email displayed on the OAuth consent screen.
       
      string support_email = 2;
      Specified by:
      getSupportEmail in interface BrandOrBuilder
      Returns:
      The supportEmail.
    • getSupportEmailBytes

      public com.google.protobuf.ByteString getSupportEmailBytes()
       Support email displayed on the OAuth consent screen.
       
      string support_email = 2;
      Specified by:
      getSupportEmailBytes in interface BrandOrBuilder
      Returns:
      The bytes for supportEmail.
    • setSupportEmail

      public Brand.Builder setSupportEmail(String value)
       Support email displayed on the OAuth consent screen.
       
      string support_email = 2;
      Parameters:
      value - The supportEmail to set.
      Returns:
      This builder for chaining.
    • clearSupportEmail

      public Brand.Builder clearSupportEmail()
       Support email displayed on the OAuth consent screen.
       
      string support_email = 2;
      Returns:
      This builder for chaining.
    • setSupportEmailBytes

      public Brand.Builder setSupportEmailBytes(com.google.protobuf.ByteString value)
       Support email displayed on the OAuth consent screen.
       
      string support_email = 2;
      Parameters:
      value - The bytes for supportEmail to set.
      Returns:
      This builder for chaining.
    • getApplicationTitle

      public String getApplicationTitle()
       Application name displayed on OAuth consent screen.
       
      string application_title = 3;
      Specified by:
      getApplicationTitle in interface BrandOrBuilder
      Returns:
      The applicationTitle.
    • getApplicationTitleBytes

      public com.google.protobuf.ByteString getApplicationTitleBytes()
       Application name displayed on OAuth consent screen.
       
      string application_title = 3;
      Specified by:
      getApplicationTitleBytes in interface BrandOrBuilder
      Returns:
      The bytes for applicationTitle.
    • setApplicationTitle

      public Brand.Builder setApplicationTitle(String value)
       Application name displayed on OAuth consent screen.
       
      string application_title = 3;
      Parameters:
      value - The applicationTitle to set.
      Returns:
      This builder for chaining.
    • clearApplicationTitle

      public Brand.Builder clearApplicationTitle()
       Application name displayed on OAuth consent screen.
       
      string application_title = 3;
      Returns:
      This builder for chaining.
    • setApplicationTitleBytes

      public Brand.Builder setApplicationTitleBytes(com.google.protobuf.ByteString value)
       Application name displayed on OAuth consent screen.
       
      string application_title = 3;
      Parameters:
      value - The bytes for applicationTitle to set.
      Returns:
      This builder for chaining.
    • getOrgInternalOnly

      public boolean getOrgInternalOnly()
       Output only. Whether the brand is only intended for usage inside the
       G Suite organization only.
       
      bool org_internal_only = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrgInternalOnly in interface BrandOrBuilder
      Returns:
      The orgInternalOnly.
    • setOrgInternalOnly

      public Brand.Builder setOrgInternalOnly(boolean value)
       Output only. Whether the brand is only intended for usage inside the
       G Suite organization only.
       
      bool org_internal_only = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The orgInternalOnly to set.
      Returns:
      This builder for chaining.
    • clearOrgInternalOnly

      public Brand.Builder clearOrgInternalOnly()
       Output only. Whether the brand is only intended for usage inside the
       G Suite organization only.
       
      bool org_internal_only = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.