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