Class Brand.Builder (0.10.0)

public static final class Brand.Builder extends GeneratedMessageV3.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

Implements

BrandOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Brand.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Brand.Builder
Overrides

build()

public Brand build()
Returns
Type Description
Brand

buildPartial()

public Brand buildPartial()
Returns
Type Description
Brand

clear()

public Brand.Builder clear()
Returns
Type Description
Brand.Builder
Overrides

clearApplicationTitle()

public Brand.Builder clearApplicationTitle()

Application name displayed on OAuth consent screen.

string application_title = 3;

Returns
Type Description
Brand.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Brand.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Brand.Builder
Overrides

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
Type Description
Brand.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Brand.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Brand.Builder
Overrides

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
Type Description
Brand.Builder

This builder for chaining.

clearSupportEmail()

public Brand.Builder clearSupportEmail()

Support email displayed on the OAuth consent screen.

string support_email = 2;

Returns
Type Description
Brand.Builder

This builder for chaining.

clone()

public Brand.Builder clone()
Returns
Type Description
Brand.Builder
Overrides

getApplicationTitle()

public String getApplicationTitle()

Application name displayed on OAuth consent screen.

string application_title = 3;

Returns
Type Description
String

The applicationTitle.

getApplicationTitleBytes()

public ByteString getApplicationTitleBytes()

Application name displayed on OAuth consent screen.

string application_title = 3;

Returns
Type Description
ByteString

The bytes for applicationTitle.

getDefaultInstanceForType()

public Brand getDefaultInstanceForType()
Returns
Type Description
Brand

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

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];

Returns
Type Description
boolean

The orgInternalOnly.

getSupportEmail()

public String getSupportEmail()

Support email displayed on the OAuth consent screen.

string support_email = 2;

Returns
Type Description
String

The supportEmail.

getSupportEmailBytes()

public ByteString getSupportEmailBytes()

Support email displayed on the OAuth consent screen.

string support_email = 2;

Returns
Type Description
ByteString

The bytes for supportEmail.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Brand other)

public Brand.Builder mergeFrom(Brand other)
Parameter
Name Description
other Brand
Returns
Type Description
Brand.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Brand.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Brand.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Brand.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Brand.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Brand.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Brand.Builder
Overrides

setApplicationTitle(String value)

public Brand.Builder setApplicationTitle(String value)

Application name displayed on OAuth consent screen.

string application_title = 3;

Parameter
Name Description
value String

The applicationTitle to set.

Returns
Type Description
Brand.Builder

This builder for chaining.

setApplicationTitleBytes(ByteString value)

public Brand.Builder setApplicationTitleBytes(ByteString value)

Application name displayed on OAuth consent screen.

string application_title = 3;

Parameter
Name Description
value ByteString

The bytes for applicationTitle to set.

Returns
Type Description
Brand.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Brand.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Brand.Builder
Overrides

setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Brand.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Brand.Builder setNameBytes(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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Brand.Builder

This builder for chaining.

setOrgInternalOnly(boolean value)

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];

Parameter
Name Description
value boolean

The orgInternalOnly to set.

Returns
Type Description
Brand.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Brand.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Brand.Builder
Overrides

setSupportEmail(String value)

public Brand.Builder setSupportEmail(String value)

Support email displayed on the OAuth consent screen.

string support_email = 2;

Parameter
Name Description
value String

The supportEmail to set.

Returns
Type Description
Brand.Builder

This builder for chaining.

setSupportEmailBytes(ByteString value)

public Brand.Builder setSupportEmailBytes(ByteString value)

Support email displayed on the OAuth consent screen.

string support_email = 2;

Parameter
Name Description
value ByteString

The bytes for supportEmail to set.

Returns
Type Description
Brand.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Brand.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Brand.Builder
Overrides