Class FetchFrameworksRequest.Builder (0.3.0)

public static final class FetchFrameworksRequest.Builder extends GeneratedMessage.Builder<FetchFrameworksRequest.Builder> implements FetchFrameworksRequestOrBuilder

Request for FetchFrameworks rpc

Protobuf type google.cloud.designcenter.v1.FetchFrameworksRequest

Static Methods

getDescriptor()

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

Methods

addAllProjects(Iterable<String> values)

public FetchFrameworksRequest.Builder addAllProjects(Iterable<String> values)

Optional. Projects to fetch frameworks for. Format: projects/{project}

repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The projects to add.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

addProjects(String value)

public FetchFrameworksRequest.Builder addProjects(String value)

Optional. Projects to fetch frameworks for. Format: projects/{project}

repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The projects to add.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

addProjectsBytes(ByteString value)

public FetchFrameworksRequest.Builder addProjectsBytes(ByteString value)

Optional. Projects to fetch frameworks for. Format: projects/{project}

repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the projects to add.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

build()

public FetchFrameworksRequest build()
Returns
Type Description
FetchFrameworksRequest

buildPartial()

public FetchFrameworksRequest buildPartial()
Returns
Type Description
FetchFrameworksRequest

clear()

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

clearFilter()

public FetchFrameworksRequest.Builder clearFilter()

Optional. Filter for frameworks list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

clearPageSize()

public FetchFrameworksRequest.Builder clearPageSize()

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

clearPageToken()

public FetchFrameworksRequest.Builder clearPageToken()

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

clearParent()

public FetchFrameworksRequest.Builder clearParent()

Required. The parent resource name. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

clearProjects()

public FetchFrameworksRequest.Builder clearProjects()

Optional. Projects to fetch frameworks for. Format: projects/{project}

repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public FetchFrameworksRequest getDefaultInstanceForType()
Returns
Type Description
FetchFrameworksRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. Filter for frameworks list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter for frameworks list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent resource name. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource name. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getProjects(int index)

public String getProjects(int index)

Optional. Projects to fetch frameworks for. Format: projects/{project}

repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The projects at the given index.

getProjectsBytes(int index)

public ByteString getProjectsBytes(int index)

Optional. Projects to fetch frameworks for. Format: projects/{project}

repeated string projects = 2 [(.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 projects at the given index.

getProjectsCount()

public int getProjectsCount()

Optional. Projects to fetch frameworks for. Format: projects/{project}

repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of projects.

getProjectsList()

public ProtocolStringList getProjectsList()

Optional. Projects to fetch frameworks for. Format: projects/{project}

repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the projects.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchFrameworksRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public FetchFrameworksRequest.Builder setFilter(String value)

Optional. Filter for frameworks list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public FetchFrameworksRequest.Builder setFilterBytes(ByteString value)

Optional. Filter for frameworks list.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

setPageSize(int value)

public FetchFrameworksRequest.Builder setPageSize(int value)

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

setPageToken(String value)

public FetchFrameworksRequest.Builder setPageToken(String value)

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public FetchFrameworksRequest.Builder setPageTokenBytes(ByteString value)

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

setParent(String value)

public FetchFrameworksRequest.Builder setParent(String value)

Required. The parent resource name. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public FetchFrameworksRequest.Builder setParentBytes(ByteString value)

Required. The parent resource name. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.

setProjects(int index, String value)

public FetchFrameworksRequest.Builder setProjects(int index, String value)

Optional. Projects to fetch frameworks for. Format: projects/{project}

repeated string projects = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The projects to set.

Returns
Type Description
FetchFrameworksRequest.Builder

This builder for chaining.