Class ListWorkspacesResponse.Builder (0.13.0)

public static final class ListWorkspacesResponse.Builder extends GeneratedMessageV3.Builder<ListWorkspacesResponse.Builder> implements ListWorkspacesResponseOrBuilder

ListWorkspaces response message.

Protobuf type google.cloud.dataform.v1beta1.ListWorkspacesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllUnreachable(Iterable<String> values)

public ListWorkspacesResponse.Builder addAllUnreachable(Iterable<String> values)

Locations which could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

addAllWorkspaces(Iterable<? extends Workspace> values)

public ListWorkspacesResponse.Builder addAllWorkspaces(Iterable<? extends Workspace> values)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1beta1.Workspace>
Returns
Type Description
ListWorkspacesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListWorkspacesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

addUnreachable(String value)

public ListWorkspacesResponse.Builder addUnreachable(String value)

Locations which could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListWorkspacesResponse.Builder addUnreachableBytes(ByteString value)

Locations which could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

addWorkspaces(Workspace value)

public ListWorkspacesResponse.Builder addWorkspaces(Workspace value)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameter
Name Description
value Workspace
Returns
Type Description
ListWorkspacesResponse.Builder

addWorkspaces(Workspace.Builder builderForValue)

public ListWorkspacesResponse.Builder addWorkspaces(Workspace.Builder builderForValue)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameter
Name Description
builderForValue Workspace.Builder
Returns
Type Description
ListWorkspacesResponse.Builder

addWorkspaces(int index, Workspace value)

public ListWorkspacesResponse.Builder addWorkspaces(int index, Workspace value)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameters
Name Description
index int
value Workspace
Returns
Type Description
ListWorkspacesResponse.Builder

addWorkspaces(int index, Workspace.Builder builderForValue)

public ListWorkspacesResponse.Builder addWorkspaces(int index, Workspace.Builder builderForValue)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameters
Name Description
index int
builderForValue Workspace.Builder
Returns
Type Description
ListWorkspacesResponse.Builder

addWorkspacesBuilder()

public Workspace.Builder addWorkspacesBuilder()

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Returns
Type Description
Workspace.Builder

addWorkspacesBuilder(int index)

public Workspace.Builder addWorkspacesBuilder(int index)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
Workspace.Builder

build()

public ListWorkspacesResponse build()
Returns
Type Description
ListWorkspacesResponse

buildPartial()

public ListWorkspacesResponse buildPartial()
Returns
Type Description
ListWorkspacesResponse

clear()

public ListWorkspacesResponse.Builder clear()
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListWorkspacesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

clearNextPageToken()

public ListWorkspacesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListWorkspacesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

clearUnreachable()

public ListWorkspacesResponse.Builder clearUnreachable()

Locations which could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

clearWorkspaces()

public ListWorkspacesResponse.Builder clearWorkspaces()

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Returns
Type Description
ListWorkspacesResponse.Builder

clone()

public ListWorkspacesResponse.Builder clone()
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListWorkspacesResponse getDefaultInstanceForType()
Returns
Type Description
ListWorkspacesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations which could not be reached.

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)

Locations which could not be reached.

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()

Locations which could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations which could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

getWorkspaces(int index)

public Workspace getWorkspaces(int index)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
Workspace

getWorkspacesBuilder(int index)

public Workspace.Builder getWorkspacesBuilder(int index)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
Workspace.Builder

getWorkspacesBuilderList()

public List<Workspace.Builder> getWorkspacesBuilderList()

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Returns
Type Description
List<Builder>

getWorkspacesCount()

public int getWorkspacesCount()

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Returns
Type Description
int

getWorkspacesList()

public List<Workspace> getWorkspacesList()

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Returns
Type Description
List<Workspace>

getWorkspacesOrBuilder(int index)

public WorkspaceOrBuilder getWorkspacesOrBuilder(int index)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkspaceOrBuilder

getWorkspacesOrBuilderList()

public List<? extends WorkspaceOrBuilder> getWorkspacesOrBuilderList()

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWorkspacesResponse other)

public ListWorkspacesResponse.Builder mergeFrom(ListWorkspacesResponse other)
Parameter
Name Description
other ListWorkspacesResponse
Returns
Type Description
ListWorkspacesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListWorkspacesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListWorkspacesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkspacesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

removeWorkspaces(int index)

public ListWorkspacesResponse.Builder removeWorkspaces(int index)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWorkspacesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListWorkspacesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

setNextPageToken(String value)

public ListWorkspacesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListWorkspacesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

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

public ListWorkspacesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkspacesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListWorkspacesResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListWorkspacesResponse.Builder setUnreachable(int index, String value)

Locations which could not be reached.

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
ListWorkspacesResponse.Builder

This builder for chaining.

setWorkspaces(int index, Workspace value)

public ListWorkspacesResponse.Builder setWorkspaces(int index, Workspace value)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameters
Name Description
index int
value Workspace
Returns
Type Description
ListWorkspacesResponse.Builder

setWorkspaces(int index, Workspace.Builder builderForValue)

public ListWorkspacesResponse.Builder setWorkspaces(int index, Workspace.Builder builderForValue)

List of workspaces.

repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;

Parameters
Name Description
index int
builderForValue Workspace.Builder
Returns
Type Description
ListWorkspacesResponse.Builder