Class GetUriPatternDocumentDataResponse.Builder (0.49.0)

public static final class GetUriPatternDocumentDataResponse.Builder extends GeneratedMessageV3.Builder<GetUriPatternDocumentDataResponse.Builder> implements GetUriPatternDocumentDataResponseOrBuilder

Response message for SiteSearchEngineService.GetUriPatternDocumentData method.

Protobuf type google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetUriPatternDocumentDataResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

build()

public GetUriPatternDocumentDataResponse build()
Returns
Type Description
GetUriPatternDocumentDataResponse

buildPartial()

public GetUriPatternDocumentDataResponse buildPartial()
Returns
Type Description
GetUriPatternDocumentDataResponse

clear()

public GetUriPatternDocumentDataResponse.Builder clear()
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

clearDocumentDataMap()

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

clearField(Descriptors.FieldDescriptor field)

public GetUriPatternDocumentDataResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetUriPatternDocumentDataResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

clone()

public GetUriPatternDocumentDataResponse.Builder clone()
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

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

getDefaultInstanceForType()

public GetUriPatternDocumentDataResponse getDefaultInstanceForType()
Returns
Type Description
GetUriPatternDocumentDataResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getMutableDocumentDataMap() (deprecated)

public Map<String,Struct> getMutableDocumentDataMap()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Struct>

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetUriPatternDocumentDataResponse other)

public GetUriPatternDocumentDataResponse.Builder mergeFrom(GetUriPatternDocumentDataResponse other)
Parameter
Name Description
other GetUriPatternDocumentDataResponse
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetUriPatternDocumentDataResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetUriPatternDocumentDataResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetUriPatternDocumentDataResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

putAllDocumentDataMap(Map<String,Struct> values)

public GetUriPatternDocumentDataResponse.Builder putAllDocumentDataMap(Map<String,Struct> values)

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
values Map<String,Struct>
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder

putDocumentDataMap(String key, Struct value)

public GetUriPatternDocumentDataResponse.Builder putDocumentDataMap(String key, Struct value)

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
value Struct
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder

putDocumentDataMapBuilderIfAbsent(String key)

public Struct.Builder putDocumentDataMapBuilderIfAbsent(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
Builder

removeDocumentDataMap(String key)

public GetUriPatternDocumentDataResponse.Builder removeDocumentDataMap(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
GetUriPatternDocumentDataResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GetUriPatternDocumentDataResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetUriPatternDocumentDataResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetUriPatternDocumentDataResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetUriPatternDocumentDataResponse.Builder
Overrides