public static final class ListSpacesResponse.Builder extends GeneratedMessage.Builder<ListSpacesResponse.Builder> implements ListSpacesResponseOrBuilderResults returned from projects.locations.spaces.list.
Protobuf type google.cloud.designcenter.v1.ListSpacesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListSpacesResponse.BuilderImplements
ListSpacesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSpaces(Iterable<? extends Space> values)
public ListSpacesResponse.Builder addAllSpaces(Iterable<? extends Space> values)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.designcenter.v1.Space> |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListSpacesResponse.Builder addAllUnreachable(Iterable<String> values)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
This builder for chaining. |
addSpaces(Space value)
public ListSpacesResponse.Builder addSpaces(Space value)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Space |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
addSpaces(Space.Builder builderForValue)
public ListSpacesResponse.Builder addSpaces(Space.Builder builderForValue)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Space.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
addSpaces(int index, Space value)
public ListSpacesResponse.Builder addSpaces(int index, Space value)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Space |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
addSpaces(int index, Space.Builder builderForValue)
public ListSpacesResponse.Builder addSpaces(int index, Space.Builder builderForValue)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Space.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
addSpacesBuilder()
public Space.Builder addSpacesBuilder()A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Returns | |
|---|---|
| Type | Description |
Space.Builder |
|
addSpacesBuilder(int index)
public Space.Builder addSpacesBuilder(int index)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Space.Builder |
|
addUnreachable(String value)
public ListSpacesResponse.Builder addUnreachable(String value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListSpacesResponse.Builder addUnreachableBytes(ByteString value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
This builder for chaining. |
build()
public ListSpacesResponse build()| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse |
|
buildPartial()
public ListSpacesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse |
|
clear()
public ListSpacesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
clearNextPageToken()
public ListSpacesResponse.Builder clearNextPageToken()If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
This builder for chaining. |
clearSpaces()
public ListSpacesResponse.Builder clearSpaces()A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
clearUnreachable()
public ListSpacesResponse.Builder clearUnreachable()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListSpacesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getSpaces(int index)
public Space getSpaces(int index)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Space |
|
getSpacesBuilder(int index)
public Space.Builder getSpacesBuilder(int index)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Space.Builder |
|
getSpacesBuilderList()
public List<Space.Builder> getSpacesBuilderList()A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSpacesCount()
public int getSpacesCount()A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSpacesList()
public List<Space> getSpacesList()A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Returns | |
|---|---|
| Type | Description |
List<Space> |
|
getSpacesOrBuilder(int index)
public SpaceOrBuilder getSpacesOrBuilder(int index)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SpaceOrBuilder |
|
getSpacesOrBuilderList()
public List<? extends SpaceOrBuilder> getSpacesOrBuilderList()A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.designcenter.v1.SpaceOrBuilder> |
|
getUnreachable(int index)
public String getUnreachable(int index)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| 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)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| 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()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListSpacesResponse other)
public ListSpacesResponse.Builder mergeFrom(ListSpacesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListSpacesResponse |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSpacesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSpacesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
removeSpaces(int index)
public ListSpacesResponse.Builder removeSpaces(int index)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
setNextPageToken(String value)
public ListSpacesResponse.Builder setNextPageToken(String value)If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListSpacesResponse.Builder setNextPageTokenBytes(ByteString value)If there might be more results than those appearing in this response, nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
This builder for chaining. |
setSpaces(int index, Space value)
public ListSpacesResponse.Builder setSpaces(int index, Space value)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Space |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
setSpaces(int index, Space.Builder builderForValue)
public ListSpacesResponse.Builder setSpaces(int index, Space.Builder builderForValue)A list of spaces.
repeated .google.cloud.designcenter.v1.Space spaces = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Space.Builder |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
|
setUnreachable(int index, String value)
public ListSpacesResponse.Builder setUnreachable(int index, String value)Unordered list. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListSpacesResponse.Builder |
This builder for chaining. |