Class ListBrandsResponse.Builder (0.4.0)

public static final class ListBrandsResponse.Builder extends GeneratedMessageV3.Builder<ListBrandsResponse.Builder> implements ListBrandsResponseOrBuilder

Response message for ListBrands.

Protobuf type google.cloud.iap.v1.ListBrandsResponse

Static Methods

getDescriptor()

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

Methods

addAllBrands(Iterable<? extends Brand> values)

public ListBrandsResponse.Builder addAllBrands(Iterable<? extends Brand> values)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.iap.v1.Brand>
Returns
Type Description
ListBrandsResponse.Builder

addBrands(Brand value)

public ListBrandsResponse.Builder addBrands(Brand value)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameter
Name Description
value Brand
Returns
Type Description
ListBrandsResponse.Builder

addBrands(Brand.Builder builderForValue)

public ListBrandsResponse.Builder addBrands(Brand.Builder builderForValue)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

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

addBrands(int index, Brand value)

public ListBrandsResponse.Builder addBrands(int index, Brand value)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameters
Name Description
index int
value Brand
Returns
Type Description
ListBrandsResponse.Builder

addBrands(int index, Brand.Builder builderForValue)

public ListBrandsResponse.Builder addBrands(int index, Brand.Builder builderForValue)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameters
Name Description
index int
builderForValue Brand.Builder
Returns
Type Description
ListBrandsResponse.Builder

addBrandsBuilder()

public Brand.Builder addBrandsBuilder()

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Returns
Type Description
Brand.Builder

addBrandsBuilder(int index)

public Brand.Builder addBrandsBuilder(int index)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameter
Name Description
index int
Returns
Type Description
Brand.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListBrandsResponse build()
Returns
Type Description
ListBrandsResponse

buildPartial()

public ListBrandsResponse buildPartial()
Returns
Type Description
ListBrandsResponse

clear()

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

clearBrands()

public ListBrandsResponse.Builder clearBrands()

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Returns
Type Description
ListBrandsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBrands(int index)

public Brand getBrands(int index)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameter
Name Description
index int
Returns
Type Description
Brand

getBrandsBuilder(int index)

public Brand.Builder getBrandsBuilder(int index)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameter
Name Description
index int
Returns
Type Description
Brand.Builder

getBrandsBuilderList()

public List<Brand.Builder> getBrandsBuilderList()

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Returns
Type Description
List<Builder>

getBrandsCount()

public int getBrandsCount()

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Returns
Type Description
int

getBrandsList()

public List<Brand> getBrandsList()

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Returns
Type Description
List<Brand>

getBrandsOrBuilder(int index)

public BrandOrBuilder getBrandsOrBuilder(int index)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameter
Name Description
index int
Returns
Type Description
BrandOrBuilder

getBrandsOrBuilderList()

public List<? extends BrandOrBuilder> getBrandsOrBuilderList()

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Returns
Type Description
List<? extends com.google.cloud.iap.v1.BrandOrBuilder>

getDefaultInstanceForType()

public ListBrandsResponse getDefaultInstanceForType()
Returns
Type Description
ListBrandsResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBrandsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBrands(int index)

public ListBrandsResponse.Builder removeBrands(int index)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameter
Name Description
index int
Returns
Type Description
ListBrandsResponse.Builder

setBrands(int index, Brand value)

public ListBrandsResponse.Builder setBrands(int index, Brand value)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameters
Name Description
index int
value Brand
Returns
Type Description
ListBrandsResponse.Builder

setBrands(int index, Brand.Builder builderForValue)

public ListBrandsResponse.Builder setBrands(int index, Brand.Builder builderForValue)

Brands existing in the project.

repeated .google.cloud.iap.v1.Brand brands = 1;

Parameters
Name Description
index int
builderForValue Brand.Builder
Returns
Type Description
ListBrandsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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