Class ListGlossaryCategoriesResponse.Builder (1.72.0)

public static final class ListGlossaryCategoriesResponse.Builder extends GeneratedMessageV3.Builder<ListGlossaryCategoriesResponse.Builder> implements ListGlossaryCategoriesResponseOrBuilder

List GlossaryCategories Response

Protobuf type google.cloud.dataplex.v1.ListGlossaryCategoriesResponse

Static Methods

getDescriptor()

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

Methods

addAllCategories(Iterable<? extends GlossaryCategory> values)

public ListGlossaryCategoriesResponse.Builder addAllCategories(Iterable<? extends GlossaryCategory> values)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

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

addAllUnreachableLocations(Iterable<String> values)

public ListGlossaryCategoriesResponse.Builder addAllUnreachableLocations(Iterable<String> values)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
values Iterable<String>

The unreachableLocations to add.

Returns
Type Description
ListGlossaryCategoriesResponse.Builder

This builder for chaining.

addCategories(GlossaryCategory value)

public ListGlossaryCategoriesResponse.Builder addCategories(GlossaryCategory value)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameter
Name Description
value GlossaryCategory
Returns
Type Description
ListGlossaryCategoriesResponse.Builder

addCategories(GlossaryCategory.Builder builderForValue)

public ListGlossaryCategoriesResponse.Builder addCategories(GlossaryCategory.Builder builderForValue)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameter
Name Description
builderForValue GlossaryCategory.Builder
Returns
Type Description
ListGlossaryCategoriesResponse.Builder

addCategories(int index, GlossaryCategory value)

public ListGlossaryCategoriesResponse.Builder addCategories(int index, GlossaryCategory value)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameters
Name Description
index int
value GlossaryCategory
Returns
Type Description
ListGlossaryCategoriesResponse.Builder

addCategories(int index, GlossaryCategory.Builder builderForValue)

public ListGlossaryCategoriesResponse.Builder addCategories(int index, GlossaryCategory.Builder builderForValue)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameters
Name Description
index int
builderForValue GlossaryCategory.Builder
Returns
Type Description
ListGlossaryCategoriesResponse.Builder

addCategoriesBuilder()

public GlossaryCategory.Builder addCategoriesBuilder()

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Returns
Type Description
GlossaryCategory.Builder

addCategoriesBuilder(int index)

public GlossaryCategory.Builder addCategoriesBuilder(int index)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameter
Name Description
index int
Returns
Type Description
GlossaryCategory.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachableLocations(String value)

public ListGlossaryCategoriesResponse.Builder addUnreachableLocations(String value)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
value String

The unreachableLocations to add.

Returns
Type Description
ListGlossaryCategoriesResponse.Builder

This builder for chaining.

addUnreachableLocationsBytes(ByteString value)

public ListGlossaryCategoriesResponse.Builder addUnreachableLocationsBytes(ByteString value)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachableLocations to add.

Returns
Type Description
ListGlossaryCategoriesResponse.Builder

This builder for chaining.

build()

public ListGlossaryCategoriesResponse build()
Returns
Type Description
ListGlossaryCategoriesResponse

buildPartial()

public ListGlossaryCategoriesResponse buildPartial()
Returns
Type Description
ListGlossaryCategoriesResponse

clear()

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

clearCategories()

public ListGlossaryCategoriesResponse.Builder clearCategories()

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Returns
Type Description
ListGlossaryCategoriesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListGlossaryCategoriesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListGlossaryCategoriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachableLocations()

public ListGlossaryCategoriesResponse.Builder clearUnreachableLocations()

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Returns
Type Description
ListGlossaryCategoriesResponse.Builder

This builder for chaining.

clone()

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

getCategories(int index)

public GlossaryCategory getCategories(int index)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameter
Name Description
index int
Returns
Type Description
GlossaryCategory

getCategoriesBuilder(int index)

public GlossaryCategory.Builder getCategoriesBuilder(int index)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameter
Name Description
index int
Returns
Type Description
GlossaryCategory.Builder

getCategoriesBuilderList()

public List<GlossaryCategory.Builder> getCategoriesBuilderList()

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Returns
Type Description
List<Builder>

getCategoriesCount()

public int getCategoriesCount()

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Returns
Type Description
int

getCategoriesList()

public List<GlossaryCategory> getCategoriesList()

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Returns
Type Description
List<GlossaryCategory>

getCategoriesOrBuilder(int index)

public GlossaryCategoryOrBuilder getCategoriesOrBuilder(int index)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameter
Name Description
index int
Returns
Type Description
GlossaryCategoryOrBuilder

getCategoriesOrBuilderList()

public List<? extends GlossaryCategoryOrBuilder> getCategoriesOrBuilderList()

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

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

getDefaultInstanceForType()

public ListGlossaryCategoriesResponse getDefaultInstanceForType()
Returns
Type Description
ListGlossaryCategoriesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachableLocations(int index)

public String getUnreachableLocations(int index)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachableLocations at the given index.

getUnreachableLocationsBytes(int index)

public ByteString getUnreachableLocationsBytes(int index)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachableLocations at the given index.

getUnreachableLocationsCount()

public int getUnreachableLocationsCount()

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Returns
Type Description
int

The count of unreachableLocations.

getUnreachableLocationsList()

public ProtocolStringList getUnreachableLocationsList()

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachableLocations.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListGlossaryCategoriesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCategories(int index)

public ListGlossaryCategoriesResponse.Builder removeCategories(int index)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGlossaryCategoriesResponse.Builder

setCategories(int index, GlossaryCategory value)

public ListGlossaryCategoriesResponse.Builder setCategories(int index, GlossaryCategory value)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameters
Name Description
index int
value GlossaryCategory
Returns
Type Description
ListGlossaryCategoriesResponse.Builder

setCategories(int index, GlossaryCategory.Builder builderForValue)

public ListGlossaryCategoriesResponse.Builder setCategories(int index, GlossaryCategory.Builder builderForValue)

Lists the GlossaryCategories in the specified parent.

repeated .google.cloud.dataplex.v1.GlossaryCategory categories = 1;

Parameters
Name Description
index int
builderForValue GlossaryCategory.Builder
Returns
Type Description
ListGlossaryCategoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListGlossaryCategoriesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListGlossaryCategoriesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGlossaryCategoriesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListGlossaryCategoriesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachableLocations(int index, String value)

public ListGlossaryCategoriesResponse.Builder setUnreachableLocations(int index, String value)

Locations that the service couldn't reach.

repeated string unreachable_locations = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachableLocations to set.

Returns
Type Description
ListGlossaryCategoriesResponse.Builder

This builder for chaining.