Class LookupPublicKgResponse.Builder (0.44.0)

public static final class LookupPublicKgResponse.Builder extends GeneratedMessageV3.Builder<LookupPublicKgResponse.Builder> implements LookupPublicKgResponseOrBuilder

Response message for EnterpriseKnowledgeGraphService.LookupPublicKg.

Protobuf type google.cloud.enterpriseknowledgegraph.v1.LookupPublicKgResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LookupPublicKgResponse build()
Returns
Type Description
LookupPublicKgResponse

buildPartial()

public LookupPublicKgResponse buildPartial()
Returns
Type Description
LookupPublicKgResponse

clear()

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

clearContext()

public LookupPublicKgResponse.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
Type Description
LookupPublicKgResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearItemListElement()

public LookupPublicKgResponse.Builder clearItemListElement()

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Returns
Type Description
LookupPublicKgResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public LookupPublicKgResponse.Builder clearType()

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

.google.protobuf.Value type = 2;

Returns
Type Description
LookupPublicKgResponse.Builder

clone()

public LookupPublicKgResponse.Builder clone()
Returns
Type Description
LookupPublicKgResponse.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
Type Description
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
Type Description
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
Type Description
ValueOrBuilder

getDefaultInstanceForType()

public LookupPublicKgResponse getDefaultInstanceForType()
Returns
Type Description
LookupPublicKgResponse

getDescriptorForType()

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

getItemListElement()

public ListValue getItemListElement()

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Returns
Type Description
ListValue

The itemListElement.

getItemListElementBuilder()

public ListValue.Builder getItemListElementBuilder()

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Returns
Type Description
Builder

getItemListElementOrBuilder()

public ListValueOrBuilder getItemListElementOrBuilder()

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Returns
Type Description
ListValueOrBuilder

getType()

public Value getType()

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

.google.protobuf.Value type = 2;

Returns
Type Description
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
Type Description
Builder

getTypeOrBuilder()

public ValueOrBuilder getTypeOrBuilder()

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

.google.protobuf.Value type = 2;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeContext(Value value)

public LookupPublicKgResponse.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
Name Description
value Value
Returns
Type Description
LookupPublicKgResponse.Builder

mergeFrom(LookupPublicKgResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeItemListElement(ListValue value)

public LookupPublicKgResponse.Builder mergeItemListElement(ListValue value)

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Parameter
Name Description
value ListValue
Returns
Type Description
LookupPublicKgResponse.Builder

mergeType(Value value)

public LookupPublicKgResponse.Builder mergeType(Value value)

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

.google.protobuf.Value type = 2;

Parameter
Name Description
value Value
Returns
Type Description
LookupPublicKgResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setContext(Value value)

public LookupPublicKgResponse.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
Name Description
value Value
Returns
Type Description
LookupPublicKgResponse.Builder

setContext(Value.Builder builderForValue)

public LookupPublicKgResponse.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
Name Description
builderForValue Builder
Returns
Type Description
LookupPublicKgResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setItemListElement(ListValue value)

public LookupPublicKgResponse.Builder setItemListElement(ListValue value)

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Parameter
Name Description
value ListValue
Returns
Type Description
LookupPublicKgResponse.Builder

setItemListElement(ListValue.Builder builderForValue)

public LookupPublicKgResponse.Builder setItemListElement(ListValue.Builder builderForValue)

The item list of search results.

.google.protobuf.ListValue item_list_element = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LookupPublicKgResponse.Builder

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

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

setType(Value value)

public LookupPublicKgResponse.Builder setType(Value value)

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

.google.protobuf.Value type = 2;

Parameter
Name Description
value Value
Returns
Type Description
LookupPublicKgResponse.Builder

setType(Value.Builder builderForValue)

public LookupPublicKgResponse.Builder setType(Value.Builder builderForValue)

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

.google.protobuf.Value type = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LookupPublicKgResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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