public static final class ListUnitsResponse.Builder extends GeneratedMessageV3.Builder<ListUnitsResponse.Builder> implements ListUnitsResponseOrBuilderThe response structure for the ListUnits method.
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.ListUnitsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListUnitsResponse.BuilderImplements
ListUnitsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllUnits(Iterable<? extends Unit> values)
public ListUnitsResponse.Builder addAllUnits(Iterable<? extends Unit> values)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit> |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListUnitsResponse.Builder addAllUnreachable(Iterable<String> values)Locations that could not be reached.
repeated string unreachable = 10511;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListUnitsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
addUnits(Unit value)
public ListUnitsResponse.Builder addUnits(Unit value)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameter | |
|---|---|
| Name | Description |
value |
Unit |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
addUnits(Unit.Builder builderForValue)
public ListUnitsResponse.Builder addUnits(Unit.Builder builderForValue)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Unit.Builder |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
addUnits(int index, Unit value)
public ListUnitsResponse.Builder addUnits(int index, Unit value)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Unit |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
addUnits(int index, Unit.Builder builderForValue)
public ListUnitsResponse.Builder addUnits(int index, Unit.Builder builderForValue)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Unit.Builder |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
addUnitsBuilder()
public Unit.Builder addUnitsBuilder()The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Returns | |
|---|---|
| Type | Description |
Unit.Builder |
|
addUnitsBuilder(int index)
public Unit.Builder addUnitsBuilder(int index)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Unit.Builder |
|
addUnreachable(String value)
public ListUnitsResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 10511;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListUnitsResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
repeated string unreachable = 10511;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
This builder for chaining. |
build()
public ListUnitsResponse build()| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse |
|
buildPartial()
public ListUnitsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse |
|
clear()
public ListUnitsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ListUnitsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
clearNextPageToken()
public ListUnitsResponse.Builder clearNextPageToken()If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListUnitsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
clearUnits()
public ListUnitsResponse.Builder clearUnits()The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
clearUnreachable()
public ListUnitsResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 10511;
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
This builder for chaining. |
clone()
public ListUnitsResponse.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
getDefaultInstanceForType()
public ListUnitsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnits(int index)
public Unit getUnits(int index)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Unit |
|
getUnitsBuilder(int index)
public Unit.Builder getUnitsBuilder(int index)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Unit.Builder |
|
getUnitsBuilderList()
public List<Unit.Builder> getUnitsBuilderList()The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getUnitsCount()
public int getUnitsCount()The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Returns | |
|---|---|
| Type | Description |
int |
|
getUnitsList()
public List<Unit> getUnitsList()The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Returns | |
|---|---|
| Type | Description |
List<Unit> |
|
getUnitsOrBuilder(int index)
public UnitOrBuilder getUnitsOrBuilder(int index)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UnitOrBuilder |
|
getUnitsOrBuilderList()
public List<? extends UnitOrBuilder> getUnitsOrBuilderList()The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOrBuilder> |
|
getUnreachable(int index)
public String getUnreachable(int index)Locations that could not be reached.
repeated string unreachable = 10511;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 = 10511;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 = 10511;
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Locations that could not be reached.
repeated string unreachable = 10511;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListUnitsResponse other)
public ListUnitsResponse.Builder mergeFrom(ListUnitsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListUnitsResponse |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListUnitsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListUnitsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListUnitsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
removeUnits(int index)
public ListUnitsResponse.Builder removeUnits(int index)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListUnitsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
setNextPageToken(String value)
public ListUnitsResponse.Builder setNextPageToken(String value)If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListUnitsResponse.Builder setNextPageTokenBytes(ByteString value)If present, the next page token can be provided to a subsequent ListUnits call to list the next page. If empty, there are no more pages.
string next_page_token = 10510;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListUnitsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
setUnits(int index, Unit value)
public ListUnitsResponse.Builder setUnits(int index, Unit value)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Unit |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
setUnits(int index, Unit.Builder builderForValue)
public ListUnitsResponse.Builder setUnits(int index, Unit.Builder builderForValue)The resulting units.
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit units = 10509;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Unit.Builder |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListUnitsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
|
setUnreachable(int index, String value)
public ListUnitsResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
repeated string unreachable = 10511;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListUnitsResponse.Builder |
This builder for chaining. |