Class ListSkusResponse.Builder (0.1.0)

public static final class ListSkusResponse.Builder extends GeneratedMessageV3.Builder<ListSkusResponse.Builder> implements ListSkusResponseOrBuilder

A list of SKUs.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ListSkusResponse

Static Methods

getDescriptor()

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

Methods

addAllSkus(Iterable<? extends Sku> values)

public ListSkusResponse.Builder addAllSkus(Iterable<? extends Sku> values)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Sku>
Returns
Type Description
ListSkusResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListSkusResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListSkusResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSkus(Sku value)

public ListSkusResponse.Builder addSkus(Sku value)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameter
Name Description
value Sku
Returns
Type Description
ListSkusResponse.Builder

addSkus(Sku.Builder builderForValue)

public ListSkusResponse.Builder addSkus(Sku.Builder builderForValue)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameter
Name Description
builderForValue Sku.Builder
Returns
Type Description
ListSkusResponse.Builder

addSkus(int index, Sku value)

public ListSkusResponse.Builder addSkus(int index, Sku value)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameters
Name Description
index int
value Sku
Returns
Type Description
ListSkusResponse.Builder

addSkus(int index, Sku.Builder builderForValue)

public ListSkusResponse.Builder addSkus(int index, Sku.Builder builderForValue)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameters
Name Description
index int
builderForValue Sku.Builder
Returns
Type Description
ListSkusResponse.Builder

addSkusBuilder()

public Sku.Builder addSkusBuilder()

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Returns
Type Description
Sku.Builder

addSkusBuilder(int index)

public Sku.Builder addSkusBuilder(int index)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameter
Name Description
index int
Returns
Type Description
Sku.Builder

addUnreachable(String value)

public ListSkusResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListSkusResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListSkusResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListSkusResponse.Builder

This builder for chaining.

build()

public ListSkusResponse build()
Returns
Type Description
ListSkusResponse

buildPartial()

public ListSkusResponse buildPartial()
Returns
Type Description
ListSkusResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSkusResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListSkusResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSkus()

public ListSkusResponse.Builder clearSkus()

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Returns
Type Description
ListSkusResponse.Builder

clearUnreachable()

public ListSkusResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListSkusResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListSkusResponse getDefaultInstanceForType()
Returns
Type Description
ListSkusResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSkus(int index)

public Sku getSkus(int index)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameter
Name Description
index int
Returns
Type Description
Sku

getSkusBuilder(int index)

public Sku.Builder getSkusBuilder(int index)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameter
Name Description
index int
Returns
Type Description
Sku.Builder

getSkusBuilderList()

public List<Sku.Builder> getSkusBuilderList()

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Returns
Type Description
List<Builder>

getSkusCount()

public int getSkusCount()

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Returns
Type Description
int

getSkusList()

public List<Sku> getSkusList()

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Returns
Type Description
List<Sku>

getSkusOrBuilder(int index)

public SkuOrBuilder getSkusOrBuilder(int index)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameter
Name Description
index int
Returns
Type Description
SkuOrBuilder

getSkusOrBuilderList()

public List<? extends SkuOrBuilder> getSkusOrBuilderList()

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.SkuOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSkusResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSkus(int index)

public ListSkusResponse.Builder removeSkus(int index)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSkusResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSkusResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSkusResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSkusResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSkusResponse.Builder

This builder for chaining.

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

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

setSkus(int index, Sku value)

public ListSkusResponse.Builder setSkus(int index, Sku value)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameters
Name Description
index int
value Sku
Returns
Type Description
ListSkusResponse.Builder

setSkus(int index, Sku.Builder builderForValue)

public ListSkusResponse.Builder setSkus(int index, Sku.Builder builderForValue)

The list of SKUs.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Sku skus = 1;

Parameters
Name Description
index int
builderForValue Sku.Builder
Returns
Type Description
ListSkusResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListSkusResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListSkusResponse.Builder

This builder for chaining.