- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class LookupPublicKgRequest.Builder extends GeneratedMessageV3.Builder<LookupPublicKgRequest.Builder> implements LookupPublicKgRequestOrBuilder
Request message for EnterpriseKnowledgeGraphService.LookupPublicKg.
Protobuf type google.cloud.enterpriseknowledgegraph.v1.LookupPublicKgRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LookupPublicKgRequest.BuilderImplements
LookupPublicKgRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllIds(Iterable<String> values)
public LookupPublicKgRequest.Builder addAllIds(Iterable<String> values)
Required. The list of entity ids to be used for lookup.
repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
values | Iterable<String> The ids to add. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
addAllLanguages(Iterable<String> values)
public LookupPublicKgRequest.Builder addAllLanguages(Iterable<String> values)
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
repeated string languages = 3;
Name | Description |
values | Iterable<String> The languages to add. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
addIds(String value)
public LookupPublicKgRequest.Builder addIds(String value)
Required. The list of entity ids to be used for lookup.
repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The ids to add. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
addIdsBytes(ByteString value)
public LookupPublicKgRequest.Builder addIdsBytes(ByteString value)
Required. The list of entity ids to be used for lookup.
repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes of the ids to add. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
addLanguages(String value)
public LookupPublicKgRequest.Builder addLanguages(String value)
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
repeated string languages = 3;
Name | Description |
value | String The languages to add. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
addLanguagesBytes(ByteString value)
public LookupPublicKgRequest.Builder addLanguagesBytes(ByteString value)
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
repeated string languages = 3;
Name | Description |
value | ByteString The bytes of the languages to add. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupPublicKgRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LookupPublicKgRequest.Builder |
build()
public LookupPublicKgRequest build()
Type | Description |
LookupPublicKgRequest |
buildPartial()
public LookupPublicKgRequest buildPartial()
Type | Description |
LookupPublicKgRequest |
clear()
public LookupPublicKgRequest.Builder clear()
Type | Description |
LookupPublicKgRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public LookupPublicKgRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LookupPublicKgRequest.Builder |
clearIds()
public LookupPublicKgRequest.Builder clearIds()
Required. The list of entity ids to be used for lookup.
repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
clearLanguages()
public LookupPublicKgRequest.Builder clearLanguages()
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
repeated string languages = 3;
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupPublicKgRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LookupPublicKgRequest.Builder |
clearParent()
public LookupPublicKgRequest.Builder clearParent()
Required. The name of the Entity's parent resource.
Format:
projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
clone()
public LookupPublicKgRequest.Builder clone()
Type | Description |
LookupPublicKgRequest.Builder |
getDefaultInstanceForType()
public LookupPublicKgRequest getDefaultInstanceForType()
Type | Description |
LookupPublicKgRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIds(int index)
public String getIds(int index)
Required. The list of entity ids to be used for lookup.
repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The ids at the given index. |
getIdsBytes(int index)
public ByteString getIdsBytes(int index)
Required. The list of entity ids to be used for lookup.
repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the ids at the given index. |
getIdsCount()
public int getIdsCount()
Required. The list of entity ids to be used for lookup.
repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The count of ids. |
getIdsList()
public ProtocolStringList getIdsList()
Required. The list of entity ids to be used for lookup.
repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ProtocolStringList | A list containing the ids. |
getLanguages(int index)
public String getLanguages(int index)
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
repeated string languages = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The languages at the given index. |
getLanguagesBytes(int index)
public ByteString getLanguagesBytes(int index)
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
repeated string languages = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the languages at the given index. |
getLanguagesCount()
public int getLanguagesCount()
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
repeated string languages = 3;
Type | Description |
int | The count of languages. |
getLanguagesList()
public ProtocolStringList getLanguagesList()
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
repeated string languages = 3;
Type | Description |
ProtocolStringList | A list containing the languages. |
getParent()
public String getParent()
Required. The name of the Entity's parent resource.
Format:
projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The name of the Entity's parent resource.
Format:
projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(LookupPublicKgRequest other)
public LookupPublicKgRequest.Builder mergeFrom(LookupPublicKgRequest other)
Name | Description |
other | LookupPublicKgRequest |
Type | Description |
LookupPublicKgRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LookupPublicKgRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LookupPublicKgRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LookupPublicKgRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LookupPublicKgRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupPublicKgRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LookupPublicKgRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LookupPublicKgRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LookupPublicKgRequest.Builder |
setIds(int index, String value)
public LookupPublicKgRequest.Builder setIds(int index, String value)
Required. The list of entity ids to be used for lookup.
repeated string ids = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int The index to set the value at. |
value | String The ids to set. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
setLanguages(int index, String value)
public LookupPublicKgRequest.Builder setLanguages(int index, String value)
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
repeated string languages = 3;
Name | Description |
index | int The index to set the value at. |
value | String The languages to set. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
setParent(String value)
public LookupPublicKgRequest.Builder setParent(String value)
Required. The name of the Entity's parent resource.
Format:
projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public LookupPublicKgRequest.Builder setParentBytes(ByteString value)
Required. The name of the Entity's parent resource.
Format:
projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
LookupPublicKgRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupPublicKgRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LookupPublicKgRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupPublicKgRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LookupPublicKgRequest.Builder |