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