Class ListContentResponse.Builder (1.53.0)

public static final class ListContentResponse.Builder extends GeneratedMessageV3.Builder<ListContentResponse.Builder> implements ListContentResponseOrBuilder

List content response.

Protobuf type google.cloud.dataplex.v1.ListContentResponse

Static Methods

getDescriptor()

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

Methods

addAllContent(Iterable<? extends Content> values)

public ListContentResponse.Builder addAllContent(Iterable<? extends Content> values)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataplex.v1.Content>
Returns
Type Description
ListContentResponse.Builder

addContent(Content value)

public ListContentResponse.Builder addContent(Content value)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameter
Name Description
value Content
Returns
Type Description
ListContentResponse.Builder

addContent(Content.Builder builderForValue)

public ListContentResponse.Builder addContent(Content.Builder builderForValue)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameter
Name Description
builderForValue Content.Builder
Returns
Type Description
ListContentResponse.Builder

addContent(int index, Content value)

public ListContentResponse.Builder addContent(int index, Content value)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameters
Name Description
index int
value Content
Returns
Type Description
ListContentResponse.Builder

addContent(int index, Content.Builder builderForValue)

public ListContentResponse.Builder addContent(int index, Content.Builder builderForValue)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameters
Name Description
index int
builderForValue Content.Builder
Returns
Type Description
ListContentResponse.Builder

addContentBuilder()

public Content.Builder addContentBuilder()

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Returns
Type Description
Content.Builder

addContentBuilder(int index)

public Content.Builder addContentBuilder(int index)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameter
Name Description
index int
Returns
Type Description
Content.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListContentResponse build()
Returns
Type Description
ListContentResponse

buildPartial()

public ListContentResponse buildPartial()
Returns
Type Description
ListContentResponse

clear()

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

clearContent()

public ListContentResponse.Builder clearContent()

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Returns
Type Description
ListContentResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListContentResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListContentResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getContent(int index)

public Content getContent(int index)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameter
Name Description
index int
Returns
Type Description
Content

getContentBuilder(int index)

public Content.Builder getContentBuilder(int index)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameter
Name Description
index int
Returns
Type Description
Content.Builder

getContentBuilderList()

public List<Content.Builder> getContentBuilderList()

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Returns
Type Description
List<Builder>

getContentCount()

public int getContentCount()

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Returns
Type Description
int

getContentList()

public List<Content> getContentList()

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Returns
Type Description
List<Content>

getContentOrBuilder(int index)

public ContentOrBuilder getContentOrBuilder(int index)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameter
Name Description
index int
Returns
Type Description
ContentOrBuilder

getContentOrBuilderList()

public List<? extends ContentOrBuilder> getContentOrBuilderList()

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Returns
Type Description
List<? extends com.google.cloud.dataplex.v1.ContentOrBuilder>

getDefaultInstanceForType()

public ListContentResponse getDefaultInstanceForType()
Returns
Type Description
ListContentResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeContent(int index)

public ListContentResponse.Builder removeContent(int index)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameter
Name Description
index int
Returns
Type Description
ListContentResponse.Builder

setContent(int index, Content value)

public ListContentResponse.Builder setContent(int index, Content value)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameters
Name Description
index int
value Content
Returns
Type Description
ListContentResponse.Builder

setContent(int index, Content.Builder builderForValue)

public ListContentResponse.Builder setContent(int index, Content.Builder builderForValue)

Content under the given parent lake.

repeated .google.cloud.dataplex.v1.Content content = 1;

Parameters
Name Description
index int
builderForValue Content.Builder
Returns
Type Description
ListContentResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListContentResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListContentResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListContentResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListContentResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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