Class GetUriPatternDocumentDataResponse (0.44.0)

public final class GetUriPatternDocumentDataResponse extends GeneratedMessageV3 implements GetUriPatternDocumentDataResponseOrBuilder

Response message for SiteSearchEngineService.GetUriPatternDocumentData method.

Protobuf type google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GetUriPatternDocumentDataResponse

Static Fields

DOCUMENT_DATA_MAP_FIELD_NUMBER

public static final int DOCUMENT_DATA_MAP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetUriPatternDocumentDataResponse getDefaultInstance()
Returns
Type Description
GetUriPatternDocumentDataResponse

getDescriptor()

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

newBuilder()

public static GetUriPatternDocumentDataResponse.Builder newBuilder()
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder

newBuilder(GetUriPatternDocumentDataResponse prototype)

public static GetUriPatternDocumentDataResponse.Builder newBuilder(GetUriPatternDocumentDataResponse prototype)
Parameter
Name Description
prototype GetUriPatternDocumentDataResponse
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder

parseDelimitedFrom(InputStream input)

public static GetUriPatternDocumentDataResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetUriPatternDocumentDataResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetUriPatternDocumentDataResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetUriPatternDocumentDataResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetUriPatternDocumentDataResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetUriPatternDocumentDataResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetUriPatternDocumentDataResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetUriPatternDocumentDataResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetUriPatternDocumentDataResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetUriPatternDocumentDataResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetUriPatternDocumentDataResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetUriPatternDocumentDataResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetUriPatternDocumentDataResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetUriPatternDocumentDataResponse> parser()
Returns
Type Description
Parser<GetUriPatternDocumentDataResponse>

Methods

containsDocumentDataMap(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetUriPatternDocumentDataResponse getDefaultInstanceForType()
Returns
Type Description
GetUriPatternDocumentDataResponse

getDocumentDataMap() (deprecated)

public Map<String,Struct> getDocumentDataMap()
Returns
Type Description
Map<String,Struct>

getDocumentDataMapCount()

public int getDocumentDataMapCount()

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;

Returns
Type Description
int

getDocumentDataMapMap()

public Map<String,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;

Returns
Type Description
Map<String,Struct>

getDocumentDataMapOrDefault(String key, Struct defaultValue)

public Struct getDocumentDataMapOrDefault(String key, 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;

Parameters
Name Description
key String
defaultValue Struct
Returns
Type Description
Struct

getDocumentDataMapOrThrow(String key)

public 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;

Parameter
Name Description
key String
Returns
Type Description
Struct

getParserForType()

public Parser<GetUriPatternDocumentDataResponse> getParserForType()
Returns
Type Description
Parser<GetUriPatternDocumentDataResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetUriPatternDocumentDataResponse.Builder newBuilderForType()
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetUriPatternDocumentDataResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetUriPatternDocumentDataResponse.Builder toBuilder()
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException