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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupPublicKgResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LookupPublicKgResponse build()
Returns
buildPartial()
public LookupPublicKgResponse buildPartial()
Returns
clear()
public LookupPublicKgResponse.Builder clear()
Returns
Overrides
clearContext()
public LookupPublicKgResponse.Builder clearContext()
Returns
clearField(Descriptors.FieldDescriptor field)
public LookupPublicKgResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearItemListElement()
public LookupPublicKgResponse.Builder clearItemListElement()
The item list of search results.
.google.protobuf.ListValue item_list_element = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupPublicKgResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearType()
public LookupPublicKgResponse.Builder clearType()
The schema type of top-level JSON-LD object, e.g. ItemList.
.google.protobuf.Value type = 2;
Returns
clone()
public LookupPublicKgResponse.Builder clone()
Returns
Overrides
getContext()
public Value getContext()
Returns
Type | Description |
Value | The context.
|
getContextBuilder()
public Value.Builder getContextBuilder()
Returns
getContextOrBuilder()
public ValueOrBuilder getContextOrBuilder()
Returns
getDefaultInstanceForType()
public LookupPublicKgResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getItemListElement()
public ListValue getItemListElement()
The item list of search results.
.google.protobuf.ListValue item_list_element = 3;
Returns
getItemListElementBuilder()
public ListValue.Builder getItemListElementBuilder()
The item list of search results.
.google.protobuf.ListValue item_list_element = 3;
Returns
getItemListElementOrBuilder()
public ListValueOrBuilder getItemListElementOrBuilder()
The item list of search results.
.google.protobuf.ListValue item_list_element = 3;
Returns
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
getTypeOrBuilder()
public ValueOrBuilder getTypeOrBuilder()
The schema type of top-level JSON-LD object, e.g. ItemList.
.google.protobuf.Value type = 2;
Returns
hasContext()
public boolean hasContext()
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()
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeContext(Value value)
public LookupPublicKgResponse.Builder mergeContext(Value value)
Parameter
Name | Description |
value | Value
|
Returns
mergeFrom(LookupPublicKgResponse other)
public LookupPublicKgResponse.Builder mergeFrom(LookupPublicKgResponse other)
Parameter
Returns
public LookupPublicKgResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LookupPublicKgResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeItemListElement(ListValue value)
public LookupPublicKgResponse.Builder mergeItemListElement(ListValue value)
The item list of search results.
.google.protobuf.ListValue item_list_element = 3;
Parameter
Returns
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupPublicKgResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setContext(Value value)
public LookupPublicKgResponse.Builder setContext(Value value)
Parameter
Name | Description |
value | Value
|
Returns
setContext(Value.Builder builderForValue)
public LookupPublicKgResponse.Builder setContext(Value.Builder builderForValue)
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LookupPublicKgResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setItemListElement(ListValue value)
public LookupPublicKgResponse.Builder setItemListElement(ListValue value)
The item list of search results.
.google.protobuf.ListValue item_list_element = 3;
Parameter
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupPublicKgResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupPublicKgResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides