Class ListExtensionsResponse.Builder (3.56.0)

public static final class ListExtensionsResponse.Builder extends GeneratedMessageV3.Builder<ListExtensionsResponse.Builder> implements ListExtensionsResponseOrBuilder

Response message for ExtensionRegistryService.ListExtensions

Protobuf type google.cloud.aiplatform.v1beta1.ListExtensionsResponse

Static Methods

getDescriptor()

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

Methods

addAllExtensions(Iterable<? extends Extension> values)

public ListExtensionsResponse.Builder addAllExtensions(Iterable<? extends Extension> values)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Extension>
Returns
Type Description
ListExtensionsResponse.Builder

addExtensions(Extension value)

public ListExtensionsResponse.Builder addExtensions(Extension value)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
Name Description
value Extension
Returns
Type Description
ListExtensionsResponse.Builder

addExtensions(Extension.Builder builderForValue)

public ListExtensionsResponse.Builder addExtensions(Extension.Builder builderForValue)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
Name Description
builderForValue Extension.Builder
Returns
Type Description
ListExtensionsResponse.Builder

addExtensions(int index, Extension value)

public ListExtensionsResponse.Builder addExtensions(int index, Extension value)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameters
Name Description
index int
value Extension
Returns
Type Description
ListExtensionsResponse.Builder

addExtensions(int index, Extension.Builder builderForValue)

public ListExtensionsResponse.Builder addExtensions(int index, Extension.Builder builderForValue)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameters
Name Description
index int
builderForValue Extension.Builder
Returns
Type Description
ListExtensionsResponse.Builder

addExtensionsBuilder()

public Extension.Builder addExtensionsBuilder()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
Type Description
Extension.Builder

addExtensionsBuilder(int index)

public Extension.Builder addExtensionsBuilder(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
Extension.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListExtensionsResponse build()
Returns
Type Description
ListExtensionsResponse

buildPartial()

public ListExtensionsResponse buildPartial()
Returns
Type Description
ListExtensionsResponse

clear()

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

clearExtensions()

public ListExtensionsResponse.Builder clearExtensions()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
Type Description
ListExtensionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListExtensionsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListExtensionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListExtensionsResponse getDefaultInstanceForType()
Returns
Type Description
ListExtensionsResponse

getDescriptorForType()

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

getExtensions(int index)

public Extension getExtensions(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
Extension

getExtensionsBuilder(int index)

public Extension.Builder getExtensionsBuilder(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
Extension.Builder

getExtensionsBuilderList()

public List<Extension.Builder> getExtensionsBuilderList()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
Type Description
List<Builder>

getExtensionsCount()

public int getExtensionsCount()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
Type Description
int

getExtensionsList()

public List<Extension> getExtensionsList()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
Type Description
List<Extension>

getExtensionsOrBuilder(int index)

public ExtensionOrBuilder getExtensionsOrBuilder(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
ExtensionOrBuilder

getExtensionsOrBuilderList()

public List<? extends ExtensionOrBuilder> getExtensionsOrBuilderList()

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ExtensionOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListExtensionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExtensions(int index)

public ListExtensionsResponse.Builder removeExtensions(int index)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListExtensionsResponse.Builder

setExtensions(int index, Extension value)

public ListExtensionsResponse.Builder setExtensions(int index, Extension value)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameters
Name Description
index int
value Extension
Returns
Type Description
ListExtensionsResponse.Builder

setExtensions(int index, Extension.Builder builderForValue)

public ListExtensionsResponse.Builder setExtensions(int index, Extension.Builder builderForValue)

List of Extension in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Extension extensions = 1;

Parameters
Name Description
index int
builderForValue Extension.Builder
Returns
Type Description
ListExtensionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListExtensionsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListExtensionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListExtensionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListExtensionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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