Class ListHardwareGroupsResponse.Builder (0.9.0)

public static final class ListHardwareGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListHardwareGroupsResponse.Builder> implements ListHardwareGroupsResponseOrBuilder

A list of hardware groups.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ListHardwareGroupsResponse

Static Methods

getDescriptor()

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

Methods

addAllHardwareGroups(Iterable<? extends HardwareGroup> values)

public ListHardwareGroupsResponse.Builder addAllHardwareGroups(Iterable<? extends HardwareGroup> values)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

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

addAllUnreachable(Iterable<String> values)

public ListHardwareGroupsResponse.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
ListHardwareGroupsResponse.Builder

This builder for chaining.

addHardwareGroups(HardwareGroup value)

public ListHardwareGroupsResponse.Builder addHardwareGroups(HardwareGroup value)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameter
Name Description
value HardwareGroup
Returns
Type Description
ListHardwareGroupsResponse.Builder

addHardwareGroups(HardwareGroup.Builder builderForValue)

public ListHardwareGroupsResponse.Builder addHardwareGroups(HardwareGroup.Builder builderForValue)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameter
Name Description
builderForValue HardwareGroup.Builder
Returns
Type Description
ListHardwareGroupsResponse.Builder

addHardwareGroups(int index, HardwareGroup value)

public ListHardwareGroupsResponse.Builder addHardwareGroups(int index, HardwareGroup value)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameters
Name Description
index int
value HardwareGroup
Returns
Type Description
ListHardwareGroupsResponse.Builder

addHardwareGroups(int index, HardwareGroup.Builder builderForValue)

public ListHardwareGroupsResponse.Builder addHardwareGroups(int index, HardwareGroup.Builder builderForValue)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameters
Name Description
index int
builderForValue HardwareGroup.Builder
Returns
Type Description
ListHardwareGroupsResponse.Builder

addHardwareGroupsBuilder()

public HardwareGroup.Builder addHardwareGroupsBuilder()

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Returns
Type Description
HardwareGroup.Builder

addHardwareGroupsBuilder(int index)

public HardwareGroup.Builder addHardwareGroupsBuilder(int index)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
HardwareGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListHardwareGroupsResponse.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
ListHardwareGroupsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListHardwareGroupsResponse.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
ListHardwareGroupsResponse.Builder

This builder for chaining.

build()

public ListHardwareGroupsResponse build()
Returns
Type Description
ListHardwareGroupsResponse

buildPartial()

public ListHardwareGroupsResponse buildPartial()
Returns
Type Description
ListHardwareGroupsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHardwareGroups()

public ListHardwareGroupsResponse.Builder clearHardwareGroups()

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Returns
Type Description
ListHardwareGroupsResponse.Builder

clearNextPageToken()

public ListHardwareGroupsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListHardwareGroupsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListHardwareGroupsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListHardwareGroupsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListHardwareGroupsResponse getDefaultInstanceForType()
Returns
Type Description
ListHardwareGroupsResponse

getDescriptorForType()

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

getHardwareGroups(int index)

public HardwareGroup getHardwareGroups(int index)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
HardwareGroup

getHardwareGroupsBuilder(int index)

public HardwareGroup.Builder getHardwareGroupsBuilder(int index)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
HardwareGroup.Builder

getHardwareGroupsBuilderList()

public List<HardwareGroup.Builder> getHardwareGroupsBuilderList()

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Returns
Type Description
List<Builder>

getHardwareGroupsCount()

public int getHardwareGroupsCount()

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Returns
Type Description
int

getHardwareGroupsList()

public List<HardwareGroup> getHardwareGroupsList()

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Returns
Type Description
List<HardwareGroup>

getHardwareGroupsOrBuilder(int index)

public HardwareGroupOrBuilder getHardwareGroupsOrBuilder(int index)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
HardwareGroupOrBuilder

getHardwareGroupsOrBuilderList()

public List<? extends HardwareGroupOrBuilder> getHardwareGroupsOrBuilderList()

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

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

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.

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(ListHardwareGroupsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeHardwareGroups(int index)

public ListHardwareGroupsResponse.Builder removeHardwareGroups(int index)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
ListHardwareGroupsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHardwareGroups(int index, HardwareGroup value)

public ListHardwareGroupsResponse.Builder setHardwareGroups(int index, HardwareGroup value)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameters
Name Description
index int
value HardwareGroup
Returns
Type Description
ListHardwareGroupsResponse.Builder

setHardwareGroups(int index, HardwareGroup.Builder builderForValue)

public ListHardwareGroupsResponse.Builder setHardwareGroups(int index, HardwareGroup.Builder builderForValue)

The list of hardware groups.

repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareGroup hardware_groups = 1;

Parameters
Name Description
index int
builderForValue HardwareGroup.Builder
Returns
Type Description
ListHardwareGroupsResponse.Builder

setNextPageToken(String value)

public ListHardwareGroupsResponse.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
ListHardwareGroupsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListHardwareGroupsResponse.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
ListHardwareGroupsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListHardwareGroupsResponse.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
ListHardwareGroupsResponse.Builder

This builder for chaining.