public static final class ListZonesResponse.Builder extends GeneratedMessageV3.Builder<ListZonesResponse.Builder> implements ListZonesResponseOrBuilder
A list of zones.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ListZonesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListZonesResponse.BuilderImplements
ListZonesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllUnreachable(Iterable<String> values)
public ListZonesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
This builder for chaining. |
addAllZones(Iterable<? extends Zone> values)
public ListZonesResponse.Builder addAllZones(Iterable<? extends Zone> values)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Zone> |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListZonesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
addUnreachable(String value)
public ListZonesResponse.Builder addUnreachable(String value)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListZonesResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
This builder for chaining. |
addZones(Zone value)
public ListZonesResponse.Builder addZones(Zone value)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameter | |
---|---|
Name | Description |
value |
Zone |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
addZones(Zone.Builder builderForValue)
public ListZonesResponse.Builder addZones(Zone.Builder builderForValue)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Zone.Builder |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
addZones(int index, Zone value)
public ListZonesResponse.Builder addZones(int index, Zone value)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Zone |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
addZones(int index, Zone.Builder builderForValue)
public ListZonesResponse.Builder addZones(int index, Zone.Builder builderForValue)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Zone.Builder |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
addZonesBuilder()
public Zone.Builder addZonesBuilder()
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Returns | |
---|---|
Type | Description |
Zone.Builder |
addZonesBuilder(int index)
public Zone.Builder addZonesBuilder(int index)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Zone.Builder |
build()
public ListZonesResponse build()
Returns | |
---|---|
Type | Description |
ListZonesResponse |
buildPartial()
public ListZonesResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListZonesResponse |
clear()
public ListZonesResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListZonesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
clearNextPageToken()
public ListZonesResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListZonesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
clearUnreachable()
public ListZonesResponse.Builder clearUnreachable()
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
This builder for chaining. |
clearZones()
public ListZonesResponse.Builder clearZones()
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
clone()
public ListZonesResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
getDefaultInstanceForType()
public ListZonesResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListZonesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
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. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
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. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
getZones(int index)
public Zone getZones(int index)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Zone |
getZonesBuilder(int index)
public Zone.Builder getZonesBuilder(int index)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Zone.Builder |
getZonesBuilderList()
public List<Zone.Builder> getZonesBuilderList()
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getZonesCount()
public int getZonesCount()
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Returns | |
---|---|
Type | Description |
int |
getZonesList()
public List<Zone> getZonesList()
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Returns | |
---|---|
Type | Description |
List<Zone> |
getZonesOrBuilder(int index)
public ZoneOrBuilder getZonesOrBuilder(int index)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ZoneOrBuilder |
getZonesOrBuilderList()
public List<? extends ZoneOrBuilder> getZonesOrBuilderList()
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.ZoneOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListZonesResponse other)
public ListZonesResponse.Builder mergeFrom(ListZonesResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListZonesResponse |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListZonesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListZonesResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListZonesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
removeZones(int index)
public ListZonesResponse.Builder removeZones(int index)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListZonesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
setNextPageToken(String value)
public ListZonesResponse.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 |
ListZonesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListZonesResponse.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 |
ListZonesResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListZonesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListZonesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
setUnreachable(int index, String value)
public ListZonesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
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 |
ListZonesResponse.Builder |
This builder for chaining. |
setZones(int index, Zone value)
public ListZonesResponse.Builder setZones(int index, Zone value)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Zone |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |
setZones(int index, Zone.Builder builderForValue)
public ListZonesResponse.Builder setZones(int index, Zone.Builder builderForValue)
The list of zones.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Zone zones = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Zone.Builder |
Returns | |
---|---|
Type | Description |
ListZonesResponse.Builder |