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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 GetUriPatternDocumentDataResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetUriPatternDocumentDataResponse build()
buildPartial()
public GetUriPatternDocumentDataResponse buildPartial()
clear()
public GetUriPatternDocumentDataResponse.Builder clear()
Overrides
clearDocumentDataMap()
public GetUriPatternDocumentDataResponse.Builder clearDocumentDataMap()
clearField(Descriptors.FieldDescriptor field)
public GetUriPatternDocumentDataResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetUriPatternDocumentDataResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GetUriPatternDocumentDataResponse.Builder clone()
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
|
getDefaultInstanceForType()
public GetUriPatternDocumentDataResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDocumentDataMap() (deprecated)
public Map<String,Struct> getDocumentDataMap()
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;
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;
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
mergeFrom(GetUriPatternDocumentDataResponse other)
public GetUriPatternDocumentDataResponse.Builder mergeFrom(GetUriPatternDocumentDataResponse other)
public GetUriPatternDocumentDataResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetUriPatternDocumentDataResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetUriPatternDocumentDataResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public GetUriPatternDocumentDataResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetUriPatternDocumentDataResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetUriPatternDocumentDataResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides