Class ListContentResponse.Builder (1.9.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dataplex.v1.Content>
Returns
TypeDescription
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
NameDescription
valueContent
Returns
TypeDescription
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
NameDescription
builderForValueContent.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueContent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueContent.Builder
Returns
TypeDescription
ListContentResponse.Builder

addContentBuilder()

public Content.Builder addContentBuilder()

Content under the given parent lake.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Content.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListContentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListContentResponse.Builder
Overrides

build()

public ListContentResponse build()
Returns
TypeDescription
ListContentResponse

buildPartial()

public ListContentResponse buildPartial()
Returns
TypeDescription
ListContentResponse

clear()

public ListContentResponse.Builder clear()
Returns
TypeDescription
ListContentResponse.Builder
Overrides

clearContent()

public ListContentResponse.Builder clearContent()

Content under the given parent lake.

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

Returns
TypeDescription
ListContentResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListContentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListContentResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListContentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListContentResponse.Builder
Overrides

clone()

public ListContentResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Content.Builder

getContentBuilderList()

public List<Content.Builder> getContentBuilderList()

Content under the given parent lake.

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

Returns
TypeDescription
List<Builder>

getContentCount()

public int getContentCount()

Content under the given parent lake.

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

Returns
TypeDescription
int

getContentList()

public List<Content> getContentList()

Content under the given parent lake.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ContentOrBuilder

getContentOrBuilderList()

public List<? extends ContentOrBuilder> getContentOrBuilderList()

Content under the given parent lake.

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

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

getDefaultInstanceForType()

public ListContentResponse getDefaultInstanceForType()
Returns
TypeDescription
ListContentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListContentResponse other)

public ListContentResponse.Builder mergeFrom(ListContentResponse other)
Parameter
NameDescription
otherListContentResponse
Returns
TypeDescription
ListContentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListContentResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListContentResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListContentResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListContentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueContent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueContent.Builder
Returns
TypeDescription
ListContentResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListContentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListContentResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListContentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListContentResponse.Builder
Overrides