Class ListWorkstationConfigsRequest.Builder (0.7.0)

public static final class ListWorkstationConfigsRequest.Builder extends GeneratedMessageV3.Builder<ListWorkstationConfigsRequest.Builder> implements ListWorkstationConfigsRequestOrBuilder

Request message for ListWorkstationConfigs.

Protobuf type google.cloud.workstations.v1.ListWorkstationConfigsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListWorkstationConfigsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides

build()

public ListWorkstationConfigsRequest build()
Returns
TypeDescription
ListWorkstationConfigsRequest

buildPartial()

public ListWorkstationConfigsRequest buildPartial()
Returns
TypeDescription
ListWorkstationConfigsRequest

clear()

public ListWorkstationConfigsRequest.Builder clear()
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListWorkstationConfigsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListWorkstationConfigsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides

clearPageSize()

public ListWorkstationConfigsRequest.Builder clearPageSize()

Maximum number of items to return.

int32 page_size = 2;

Returns
TypeDescription
ListWorkstationConfigsRequest.Builder

This builder for chaining.

clearPageToken()

public ListWorkstationConfigsRequest.Builder clearPageToken()

next_page_token value returned from a previous List request, if any.

string page_token = 3;

Returns
TypeDescription
ListWorkstationConfigsRequest.Builder

This builder for chaining.

clearParent()

public ListWorkstationConfigsRequest.Builder clearParent()

Required. Parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListWorkstationConfigsRequest.Builder

This builder for chaining.

clone()

public ListWorkstationConfigsRequest.Builder clone()
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListWorkstationConfigsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListWorkstationConfigsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Maximum number of items to return.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

next_page_token value returned from a previous List request, if any.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

next_page_token value returned from a previous List request, if any.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListWorkstationConfigsRequest other)

public ListWorkstationConfigsRequest.Builder mergeFrom(ListWorkstationConfigsRequest other)
Parameter
NameDescription
otherListWorkstationConfigsRequest
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListWorkstationConfigsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListWorkstationConfigsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkstationConfigsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListWorkstationConfigsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides

setPageSize(int value)

public ListWorkstationConfigsRequest.Builder setPageSize(int value)

Maximum number of items to return.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListWorkstationConfigsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListWorkstationConfigsRequest.Builder setPageToken(String value)

next_page_token value returned from a previous List request, if any.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListWorkstationConfigsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListWorkstationConfigsRequest.Builder setPageTokenBytes(ByteString value)

next_page_token value returned from a previous List request, if any.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListWorkstationConfigsRequest.Builder

This builder for chaining.

setParent(String value)

public ListWorkstationConfigsRequest.Builder setParent(String value)

Required. Parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListWorkstationConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListWorkstationConfigsRequest.Builder setParentBytes(ByteString value)

Required. Parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListWorkstationConfigsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListWorkstationConfigsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkstationConfigsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListWorkstationConfigsRequest.Builder
Overrides