public static final class ListWorkstationsResponse.Builder extends GeneratedMessageV3.Builder<ListWorkstationsResponse.Builder> implements ListWorkstationsResponseOrBuilder
Response message for ListWorkstations.
Protobuf type google.cloud.workstations.v1beta.ListWorkstationsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListWorkstationsResponse.BuilderImplements
ListWorkstationsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllUnreachable(Iterable<String> values)
public ListWorkstationsResponse.Builder addAllUnreachable(Iterable<String> values)
Optional. Unreachable resources.
repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
This builder for chaining. |
addAllWorkstations(Iterable<? extends Workstation> values)
public ListWorkstationsResponse.Builder addAllWorkstations(Iterable<? extends Workstation> values)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.workstations.v1beta.Workstation> |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWorkstationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
addUnreachable(String value)
public ListWorkstationsResponse.Builder addUnreachable(String value)
Optional. Unreachable resources.
repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListWorkstationsResponse.Builder addUnreachableBytes(ByteString value)
Optional. Unreachable resources.
repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
This builder for chaining. |
addWorkstations(Workstation value)
public ListWorkstationsResponse.Builder addWorkstations(Workstation value)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameter | |
---|---|
Name | Description |
value |
Workstation |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
addWorkstations(Workstation.Builder builderForValue)
public ListWorkstationsResponse.Builder addWorkstations(Workstation.Builder builderForValue)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Workstation.Builder |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
addWorkstations(int index, Workstation value)
public ListWorkstationsResponse.Builder addWorkstations(int index, Workstation value)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Workstation |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
addWorkstations(int index, Workstation.Builder builderForValue)
public ListWorkstationsResponse.Builder addWorkstations(int index, Workstation.Builder builderForValue)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Workstation.Builder |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
addWorkstationsBuilder()
public Workstation.Builder addWorkstationsBuilder()
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Returns | |
---|---|
Type | Description |
Workstation.Builder |
addWorkstationsBuilder(int index)
public Workstation.Builder addWorkstationsBuilder(int index)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Workstation.Builder |
build()
public ListWorkstationsResponse build()
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse |
buildPartial()
public ListWorkstationsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse |
clear()
public ListWorkstationsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListWorkstationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
clearNextPageToken()
public ListWorkstationsResponse.Builder clearNextPageToken()
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWorkstationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
clearUnreachable()
public ListWorkstationsResponse.Builder clearUnreachable()
Optional. Unreachable resources.
repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
This builder for chaining. |
clearWorkstations()
public ListWorkstationsResponse.Builder clearWorkstations()
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
clone()
public ListWorkstationsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
getDefaultInstanceForType()
public ListWorkstationsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)
Optional. Unreachable resources.
repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. Unreachable resources.
repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. Unreachable resources.
repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Optional. Unreachable resources.
repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
getWorkstations(int index)
public Workstation getWorkstations(int index)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Workstation |
getWorkstationsBuilder(int index)
public Workstation.Builder getWorkstationsBuilder(int index)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Workstation.Builder |
getWorkstationsBuilderList()
public List<Workstation.Builder> getWorkstationsBuilderList()
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getWorkstationsCount()
public int getWorkstationsCount()
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Returns | |
---|---|
Type | Description |
int |
getWorkstationsList()
public List<Workstation> getWorkstationsList()
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Returns | |
---|---|
Type | Description |
List<Workstation> |
getWorkstationsOrBuilder(int index)
public WorkstationOrBuilder getWorkstationsOrBuilder(int index)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
WorkstationOrBuilder |
getWorkstationsOrBuilderList()
public List<? extends WorkstationOrBuilder> getWorkstationsOrBuilderList()
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.workstations.v1beta.WorkstationOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListWorkstationsResponse other)
public ListWorkstationsResponse.Builder mergeFrom(ListWorkstationsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListWorkstationsResponse |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListWorkstationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListWorkstationsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkstationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
removeWorkstations(int index)
public ListWorkstationsResponse.Builder removeWorkstations(int index)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListWorkstationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
setNextPageToken(String value)
public ListWorkstationsResponse.Builder setNextPageToken(String value)
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListWorkstationsResponse.Builder setNextPageTokenBytes(ByteString value)
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWorkstationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkstationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
setUnreachable(int index, String value)
public ListWorkstationsResponse.Builder setUnreachable(int index, String value)
Optional. Unreachable resources.
repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
This builder for chaining. |
setWorkstations(int index, Workstation value)
public ListWorkstationsResponse.Builder setWorkstations(int index, Workstation value)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Workstation |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |
setWorkstations(int index, Workstation.Builder builderForValue)
public ListWorkstationsResponse.Builder setWorkstations(int index, Workstation.Builder builderForValue)
The requested workstations.
repeated .google.cloud.workstations.v1beta.Workstation workstations = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Workstation.Builder |
Returns | |
---|---|
Type | Description |
ListWorkstationsResponse.Builder |