Class ListBrandsResponse.Builder (0.39.0)

public static final class ListBrandsResponse.Builder extends GeneratedMessage.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

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

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 GeneratedMessage.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

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