Class LookupPublicKgResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LookupPublicKgResponse.Builder>
com.google.cloud.enterpriseknowledgegraph.v1.LookupPublicKgResponse.Builder
All Implemented Interfaces:
LookupPublicKgResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LookupPublicKgResponse

public static final class LookupPublicKgResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<LookupPublicKgResponse.Builder> implements LookupPublicKgResponseOrBuilder
 Response message for
 [EnterpriseKnowledgeGraphService.LookupPublicKg][google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.LookupPublicKg].
 
Protobuf type google.cloud.enterpriseknowledgegraph.v1.LookupPublicKgResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<LookupPublicKgResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<LookupPublicKgResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<LookupPublicKgResponse.Builder>
    • getDefaultInstanceForType

      public LookupPublicKgResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public LookupPublicKgResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public LookupPublicKgResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public LookupPublicKgResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LookupPublicKgResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<LookupPublicKgResponse.Builder>
    • mergeFrom

      public LookupPublicKgResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LookupPublicKgResponse.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      hasContext in interface LookupPublicKgResponseOrBuilder
      Returns:
      Whether the context field is set.
    • getContext

      public com.google.protobuf.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;
      Specified by:
      getContext in interface LookupPublicKgResponseOrBuilder
      Returns:
      The context.
    • setContext

      public LookupPublicKgResponse.Builder setContext(com.google.protobuf.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;
    • setContext

      public LookupPublicKgResponse.Builder setContext(com.google.protobuf.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;
    • mergeContext

      public LookupPublicKgResponse.Builder mergeContext(com.google.protobuf.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;
    • 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;
    • getContextBuilder

      public com.google.protobuf.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;
    • getContextOrBuilder

      public com.google.protobuf.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;
      Specified by:
      getContextOrBuilder in interface LookupPublicKgResponseOrBuilder
    • hasType

      public boolean hasType()
       The schema type of top-level JSON-LD object, e.g. ItemList.
       
      .google.protobuf.Value type = 2;
      Specified by:
      hasType in interface LookupPublicKgResponseOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public com.google.protobuf.Value getType()
       The schema type of top-level JSON-LD object, e.g. ItemList.
       
      .google.protobuf.Value type = 2;
      Specified by:
      getType in interface LookupPublicKgResponseOrBuilder
      Returns:
      The type.
    • setType

      public LookupPublicKgResponse.Builder setType(com.google.protobuf.Value value)
       The schema type of top-level JSON-LD object, e.g. ItemList.
       
      .google.protobuf.Value type = 2;
    • setType

      public LookupPublicKgResponse.Builder setType(com.google.protobuf.Value.Builder builderForValue)
       The schema type of top-level JSON-LD object, e.g. ItemList.
       
      .google.protobuf.Value type = 2;
    • mergeType

      public LookupPublicKgResponse.Builder mergeType(com.google.protobuf.Value value)
       The schema type of top-level JSON-LD object, e.g. ItemList.
       
      .google.protobuf.Value type = 2;
    • clearType

      public LookupPublicKgResponse.Builder clearType()
       The schema type of top-level JSON-LD object, e.g. ItemList.
       
      .google.protobuf.Value type = 2;
    • getTypeBuilder

      public com.google.protobuf.Value.Builder getTypeBuilder()
       The schema type of top-level JSON-LD object, e.g. ItemList.
       
      .google.protobuf.Value type = 2;
    • getTypeOrBuilder

      public com.google.protobuf.ValueOrBuilder getTypeOrBuilder()
       The schema type of top-level JSON-LD object, e.g. ItemList.
       
      .google.protobuf.Value type = 2;
      Specified by:
      getTypeOrBuilder in interface LookupPublicKgResponseOrBuilder
    • hasItemListElement

      public boolean hasItemListElement()
       The item list of search results.
       
      .google.protobuf.ListValue item_list_element = 3;
      Specified by:
      hasItemListElement in interface LookupPublicKgResponseOrBuilder
      Returns:
      Whether the itemListElement field is set.
    • getItemListElement

      public com.google.protobuf.ListValue getItemListElement()
       The item list of search results.
       
      .google.protobuf.ListValue item_list_element = 3;
      Specified by:
      getItemListElement in interface LookupPublicKgResponseOrBuilder
      Returns:
      The itemListElement.
    • setItemListElement

      public LookupPublicKgResponse.Builder setItemListElement(com.google.protobuf.ListValue value)
       The item list of search results.
       
      .google.protobuf.ListValue item_list_element = 3;
    • setItemListElement

      public LookupPublicKgResponse.Builder setItemListElement(com.google.protobuf.ListValue.Builder builderForValue)
       The item list of search results.
       
      .google.protobuf.ListValue item_list_element = 3;
    • mergeItemListElement

      public LookupPublicKgResponse.Builder mergeItemListElement(com.google.protobuf.ListValue value)
       The item list of search results.
       
      .google.protobuf.ListValue item_list_element = 3;
    • clearItemListElement

      public LookupPublicKgResponse.Builder clearItemListElement()
       The item list of search results.
       
      .google.protobuf.ListValue item_list_element = 3;
    • getItemListElementBuilder

      public com.google.protobuf.ListValue.Builder getItemListElementBuilder()
       The item list of search results.
       
      .google.protobuf.ListValue item_list_element = 3;
    • getItemListElementOrBuilder

      public com.google.protobuf.ListValueOrBuilder getItemListElementOrBuilder()
       The item list of search results.
       
      .google.protobuf.ListValue item_list_element = 3;
      Specified by:
      getItemListElementOrBuilder in interface LookupPublicKgResponseOrBuilder