Class CreateBrandRequest.Builder (0.3.0)

public static final class CreateBrandRequest.Builder extends GeneratedMessageV3.Builder<CreateBrandRequest.Builder> implements CreateBrandRequestOrBuilder

The request sent to CreateBrand.

Protobuf type google.cloud.iap.v1.CreateBrandRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateBrandRequest build()
Returns
Type Description
CreateBrandRequest

buildPartial()

public CreateBrandRequest buildPartial()
Returns
Type Description
CreateBrandRequest

clear()

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

clearBrand()

public CreateBrandRequest.Builder clearBrand()

Required. The brand to be created.

.google.cloud.iap.v1.Brand brand = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateBrandRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateBrandRequest.Builder clearParent()

Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateBrandRequest.Builder

This builder for chaining.

clone()

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

getBrand()

public Brand getBrand()

Required. The brand to be created.

.google.cloud.iap.v1.Brand brand = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Brand

The brand.

getBrandBuilder()

public Brand.Builder getBrandBuilder()

Required. The brand to be created.

.google.cloud.iap.v1.Brand brand = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Brand.Builder

getBrandOrBuilder()

public BrandOrBuilder getBrandOrBuilder()

Required. The brand to be created.

.google.cloud.iap.v1.Brand brand = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BrandOrBuilder

getDefaultInstanceForType()

public CreateBrandRequest getDefaultInstanceForType()
Returns
Type Description
CreateBrandRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

hasBrand()

public boolean hasBrand()

Required. The brand to be created.

.google.cloud.iap.v1.Brand brand = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the brand field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBrand(Brand value)

public CreateBrandRequest.Builder mergeBrand(Brand value)

Required. The brand to be created.

.google.cloud.iap.v1.Brand brand = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Brand
Returns
Type Description
CreateBrandRequest.Builder

mergeFrom(CreateBrandRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBrand(Brand value)

public CreateBrandRequest.Builder setBrand(Brand value)

Required. The brand to be created.

.google.cloud.iap.v1.Brand brand = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Brand
Returns
Type Description
CreateBrandRequest.Builder

setBrand(Brand.Builder builderForValue)

public CreateBrandRequest.Builder setBrand(Brand.Builder builderForValue)

Required. The brand to be created.

.google.cloud.iap.v1.Brand brand = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Brand.Builder
Returns
Type Description
CreateBrandRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateBrandRequest.Builder setParent(String value)

Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateBrandRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateBrandRequest.Builder setParentBytes(ByteString value)

Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateBrandRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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