Class GetUriPatternDocumentDataResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse
All Implemented Interfaces:
GetUriPatternDocumentDataResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GetUriPatternDocumentDataResponse extends com.google.protobuf.GeneratedMessage implements GetUriPatternDocumentDataResponseOrBuilder
 Response message for
 [SiteSearchEngineService.GetUriPatternDocumentData][google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetUriPatternDocumentData]
 method.
 
Protobuf type google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse
See Also:
  • Field Details

    • DOCUMENT_DATA_MAP_FIELD_NUMBER

      public static final int DOCUMENT_DATA_MAP_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDocumentDataMapCount

      public int getDocumentDataMapCount()
      Description copied from interface: GetUriPatternDocumentDataResponseOrBuilder
       Document data keyed by URI pattern. For example:
       document_data_map = {
       "www.url1.com/*": {
       "Categories": ["category1", "category2"]
       },
       "www.url2.com/*": {
       "Categories": ["category3"]
       }
       }
       
      map<string, .google.protobuf.Struct> document_data_map = 1;
      Specified by:
      getDocumentDataMapCount in interface GetUriPatternDocumentDataResponseOrBuilder
    • containsDocumentDataMap

      public boolean containsDocumentDataMap(String key)
       Document data keyed by URI pattern. For example:
       document_data_map = {
       "www.url1.com/*": {
       "Categories": ["category1", "category2"]
       },
       "www.url2.com/*": {
       "Categories": ["category3"]
       }
       }
       
      map<string, .google.protobuf.Struct> document_data_map = 1;
      Specified by:
      containsDocumentDataMap in interface GetUriPatternDocumentDataResponseOrBuilder
    • getDocumentDataMap

      @Deprecated public Map<String,com.google.protobuf.Struct> getDocumentDataMap()
      Deprecated.
      Specified by:
      getDocumentDataMap in interface GetUriPatternDocumentDataResponseOrBuilder
    • getDocumentDataMapMap

      public Map<String,com.google.protobuf.Struct> getDocumentDataMapMap()
       Document data keyed by URI pattern. For example:
       document_data_map = {
       "www.url1.com/*": {
       "Categories": ["category1", "category2"]
       },
       "www.url2.com/*": {
       "Categories": ["category3"]
       }
       }
       
      map<string, .google.protobuf.Struct> document_data_map = 1;
      Specified by:
      getDocumentDataMapMap in interface GetUriPatternDocumentDataResponseOrBuilder
    • getDocumentDataMapOrDefault

      public com.google.protobuf.Struct getDocumentDataMapOrDefault(String key, com.google.protobuf.Struct defaultValue)
       Document data keyed by URI pattern. For example:
       document_data_map = {
       "www.url1.com/*": {
       "Categories": ["category1", "category2"]
       },
       "www.url2.com/*": {
       "Categories": ["category3"]
       }
       }
       
      map<string, .google.protobuf.Struct> document_data_map = 1;
      Specified by:
      getDocumentDataMapOrDefault in interface GetUriPatternDocumentDataResponseOrBuilder
    • getDocumentDataMapOrThrow

      public com.google.protobuf.Struct getDocumentDataMapOrThrow(String key)
       Document data keyed by URI pattern. For example:
       document_data_map = {
       "www.url1.com/*": {
       "Categories": ["category1", "category2"]
       },
       "www.url2.com/*": {
       "Categories": ["category3"]
       }
       }
       
      map<string, .google.protobuf.Struct> document_data_map = 1;
      Specified by:
      getDocumentDataMapOrThrow in interface GetUriPatternDocumentDataResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetUriPatternDocumentDataResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetUriPatternDocumentDataResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetUriPatternDocumentDataResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GetUriPatternDocumentDataResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GetUriPatternDocumentDataResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GetUriPatternDocumentDataResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GetUriPatternDocumentDataResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GetUriPatternDocumentDataResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<GetUriPatternDocumentDataResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GetUriPatternDocumentDataResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder