Class SearchPublicKgResponse.Builder (0.37.0)

public static final class SearchPublicKgResponse.Builder extends GeneratedMessageV3.Builder<SearchPublicKgResponse.Builder> implements SearchPublicKgResponseOrBuilder

Response message for EnterpriseKnowledgeGraphService.Search.

Protobuf type google.cloud.enterpriseknowledgegraph.v1.SearchPublicKgResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchPublicKgResponse build()
Returns
TypeDescription
SearchPublicKgResponse

buildPartial()

public SearchPublicKgResponse buildPartial()
Returns
TypeDescription
SearchPublicKgResponse

clear()

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

clearContext()

public SearchPublicKgResponse.Builder clearContext()

The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.

.google.protobuf.Value context = 1;

Returns
TypeDescription
SearchPublicKgResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchPublicKgResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchPublicKgResponse.Builder
Overrides

clearItemListElement()

public SearchPublicKgResponse.Builder clearItemListElement()

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Returns
TypeDescription
SearchPublicKgResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public SearchPublicKgResponse.Builder clearType()

The schema type of top-level JSON-LD object, e.g. ItemList.

.google.protobuf.Value type = 2;

Returns
TypeDescription
SearchPublicKgResponse.Builder

clone()

public SearchPublicKgResponse.Builder clone()
Returns
TypeDescription
SearchPublicKgResponse.Builder
Overrides

getContext()

public Value getContext()

The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.

.google.protobuf.Value context = 1;

Returns
TypeDescription
Value

The context.

getContextBuilder()

public Value.Builder getContextBuilder()

The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.

.google.protobuf.Value context = 1;

Returns
TypeDescription
Builder

getContextOrBuilder()

public ValueOrBuilder getContextOrBuilder()

The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.

.google.protobuf.Value context = 1;

Returns
TypeDescription
ValueOrBuilder

getDefaultInstanceForType()

public SearchPublicKgResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchPublicKgResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getItemListElement()

public ListValue getItemListElement()

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Returns
TypeDescription
ListValue

The itemListElement.

getItemListElementBuilder()

public ListValue.Builder getItemListElementBuilder()

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Returns
TypeDescription
Builder

getItemListElementOrBuilder()

public ListValueOrBuilder getItemListElementOrBuilder()

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Returns
TypeDescription
ListValueOrBuilder

getType()

public Value getType()

The schema type of top-level JSON-LD object, e.g. ItemList.

.google.protobuf.Value type = 2;

Returns
TypeDescription
Value

The type.

getTypeBuilder()

public Value.Builder getTypeBuilder()

The schema type of top-level JSON-LD object, e.g. ItemList.

.google.protobuf.Value type = 2;

Returns
TypeDescription
Builder

getTypeOrBuilder()

public ValueOrBuilder getTypeOrBuilder()

The schema type of top-level JSON-LD object, e.g. ItemList.

.google.protobuf.Value type = 2;

Returns
TypeDescription
ValueOrBuilder

hasContext()

public boolean hasContext()

The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.

.google.protobuf.Value context = 1;

Returns
TypeDescription
boolean

Whether the context field is set.

hasItemListElement()

public boolean hasItemListElement()

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Returns
TypeDescription
boolean

Whether the itemListElement field is set.

hasType()

public boolean hasType()

The schema type of top-level JSON-LD object, e.g. ItemList.

.google.protobuf.Value type = 2;

Returns
TypeDescription
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeContext(Value value)

public SearchPublicKgResponse.Builder mergeContext(Value value)

The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.

.google.protobuf.Value context = 1;

Parameter
NameDescription
valueValue
Returns
TypeDescription
SearchPublicKgResponse.Builder

mergeFrom(SearchPublicKgResponse other)

public SearchPublicKgResponse.Builder mergeFrom(SearchPublicKgResponse other)
Parameter
NameDescription
otherSearchPublicKgResponse
Returns
TypeDescription
SearchPublicKgResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeItemListElement(ListValue value)

public SearchPublicKgResponse.Builder mergeItemListElement(ListValue value)

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Parameter
NameDescription
valueListValue
Returns
TypeDescription
SearchPublicKgResponse.Builder

mergeType(Value value)

public SearchPublicKgResponse.Builder mergeType(Value value)

The schema type of top-level JSON-LD object, e.g. ItemList.

.google.protobuf.Value type = 2;

Parameter
NameDescription
valueValue
Returns
TypeDescription
SearchPublicKgResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchPublicKgResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchPublicKgResponse.Builder
Overrides

setContext(Value value)

public SearchPublicKgResponse.Builder setContext(Value value)

The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.

.google.protobuf.Value context = 1;

Parameter
NameDescription
valueValue
Returns
TypeDescription
SearchPublicKgResponse.Builder

setContext(Value.Builder builderForValue)

public SearchPublicKgResponse.Builder setContext(Value.Builder builderForValue)

The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.

.google.protobuf.Value context = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SearchPublicKgResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setItemListElement(ListValue value)

public SearchPublicKgResponse.Builder setItemListElement(ListValue value)

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Parameter
NameDescription
valueListValue
Returns
TypeDescription
SearchPublicKgResponse.Builder

setItemListElement(ListValue.Builder builderForValue)

public SearchPublicKgResponse.Builder setItemListElement(ListValue.Builder builderForValue)

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SearchPublicKgResponse.Builder

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

public SearchPublicKgResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchPublicKgResponse.Builder
Overrides

setType(Value value)

public SearchPublicKgResponse.Builder setType(Value value)

The schema type of top-level JSON-LD object, e.g. ItemList.

.google.protobuf.Value type = 2;

Parameter
NameDescription
valueValue
Returns
TypeDescription
SearchPublicKgResponse.Builder

setType(Value.Builder builderForValue)

public SearchPublicKgResponse.Builder setType(Value.Builder builderForValue)

The schema type of top-level JSON-LD object, e.g. ItemList.

.google.protobuf.Value type = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SearchPublicKgResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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