Class ListApplicationTemplatesResponse.Builder (0.3.0)

public static final class ListApplicationTemplatesResponse.Builder extends GeneratedMessage.Builder<ListApplicationTemplatesResponse.Builder> implements ListApplicationTemplatesResponseOrBuilder

Message for response to listing application templates.

Protobuf type google.cloud.designcenter.v1.ListApplicationTemplatesResponse

Static Methods

getDescriptor()

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

Methods

addAllApplicationTemplates(Iterable<? extends ApplicationTemplate> values)

public ListApplicationTemplatesResponse.Builder addAllApplicationTemplates(Iterable<? extends ApplicationTemplate> values)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.designcenter.v1.ApplicationTemplate>
Returns
Type Description
ListApplicationTemplatesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListApplicationTemplatesResponse.Builder

This builder for chaining.

addApplicationTemplates(ApplicationTemplate value)

public ListApplicationTemplatesResponse.Builder addApplicationTemplates(ApplicationTemplate value)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameter
Name Description
value ApplicationTemplate
Returns
Type Description
ListApplicationTemplatesResponse.Builder

addApplicationTemplates(ApplicationTemplate.Builder builderForValue)

public ListApplicationTemplatesResponse.Builder addApplicationTemplates(ApplicationTemplate.Builder builderForValue)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameter
Name Description
builderForValue ApplicationTemplate.Builder
Returns
Type Description
ListApplicationTemplatesResponse.Builder

addApplicationTemplates(int index, ApplicationTemplate value)

public ListApplicationTemplatesResponse.Builder addApplicationTemplates(int index, ApplicationTemplate value)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameters
Name Description
index int
value ApplicationTemplate
Returns
Type Description
ListApplicationTemplatesResponse.Builder

addApplicationTemplates(int index, ApplicationTemplate.Builder builderForValue)

public ListApplicationTemplatesResponse.Builder addApplicationTemplates(int index, ApplicationTemplate.Builder builderForValue)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameters
Name Description
index int
builderForValue ApplicationTemplate.Builder
Returns
Type Description
ListApplicationTemplatesResponse.Builder

addApplicationTemplatesBuilder()

public ApplicationTemplate.Builder addApplicationTemplatesBuilder()

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Returns
Type Description
ApplicationTemplate.Builder

addApplicationTemplatesBuilder(int index)

public ApplicationTemplate.Builder addApplicationTemplatesBuilder(int index)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
ApplicationTemplate.Builder

addUnreachable(String value)

public ListApplicationTemplatesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListApplicationTemplatesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListApplicationTemplatesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListApplicationTemplatesResponse.Builder

This builder for chaining.

build()

public ListApplicationTemplatesResponse build()
Returns
Type Description
ListApplicationTemplatesResponse

buildPartial()

public ListApplicationTemplatesResponse buildPartial()
Returns
Type Description
ListApplicationTemplatesResponse

clear()

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

clearApplicationTemplates()

public ListApplicationTemplatesResponse.Builder clearApplicationTemplates()

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Returns
Type Description
ListApplicationTemplatesResponse.Builder

clearNextPageToken()

public ListApplicationTemplatesResponse.Builder clearNextPageToken()

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
ListApplicationTemplatesResponse.Builder

This builder for chaining.

clearUnreachable()

public ListApplicationTemplatesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListApplicationTemplatesResponse.Builder

This builder for chaining.

getApplicationTemplates(int index)

public ApplicationTemplate getApplicationTemplates(int index)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
ApplicationTemplate

getApplicationTemplatesBuilder(int index)

public ApplicationTemplate.Builder getApplicationTemplatesBuilder(int index)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
ApplicationTemplate.Builder

getApplicationTemplatesBuilderList()

public List<ApplicationTemplate.Builder> getApplicationTemplatesBuilderList()

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Returns
Type Description
List<Builder>

getApplicationTemplatesCount()

public int getApplicationTemplatesCount()

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Returns
Type Description
int

getApplicationTemplatesList()

public List<ApplicationTemplate> getApplicationTemplatesList()

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Returns
Type Description
List<ApplicationTemplate>

getApplicationTemplatesOrBuilder(int index)

public ApplicationTemplateOrBuilder getApplicationTemplatesOrBuilder(int index)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
ApplicationTemplateOrBuilder

getApplicationTemplatesOrBuilderList()

public List<? extends ApplicationTemplateOrBuilder> getApplicationTemplatesOrBuilderList()

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ApplicationTemplateOrBuilder>

getDefaultInstanceForType()

public ListApplicationTemplatesResponse getDefaultInstanceForType()
Returns
Type Description
ListApplicationTemplatesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that 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 that 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 that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListApplicationTemplatesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeApplicationTemplates(int index)

public ListApplicationTemplatesResponse.Builder removeApplicationTemplates(int index)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
ListApplicationTemplatesResponse.Builder

setApplicationTemplates(int index, ApplicationTemplate value)

public ListApplicationTemplatesResponse.Builder setApplicationTemplates(int index, ApplicationTemplate value)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameters
Name Description
index int
value ApplicationTemplate
Returns
Type Description
ListApplicationTemplatesResponse.Builder

setApplicationTemplates(int index, ApplicationTemplate.Builder builderForValue)

public ListApplicationTemplatesResponse.Builder setApplicationTemplates(int index, ApplicationTemplate.Builder builderForValue)

The list of application templates.

repeated .google.cloud.designcenter.v1.ApplicationTemplate application_templates = 1;

Parameters
Name Description
index int
builderForValue ApplicationTemplate.Builder
Returns
Type Description
ListApplicationTemplatesResponse.Builder

setNextPageToken(String value)

public ListApplicationTemplatesResponse.Builder setNextPageToken(String value)

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListApplicationTemplatesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApplicationTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListApplicationTemplatesResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

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

Locations that 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
ListApplicationTemplatesResponse.Builder

This builder for chaining.