public static final class CreateLicenseConfigRequest.Builder extends GeneratedMessage.Builder<CreateLicenseConfigRequest.Builder> implements CreateLicenseConfigRequestOrBuilderRequest message for LicenseConfigService.CreateLicenseConfig method.
Protobuf type google.cloud.discoveryengine.v1beta.CreateLicenseConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateLicenseConfigRequest.BuilderImplements
CreateLicenseConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateLicenseConfigRequest build()| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest |
|
buildPartial()
public CreateLicenseConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest |
|
clear()
public CreateLicenseConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
|
clearLicenseConfig()
public CreateLicenseConfigRequest.Builder clearLicenseConfig()Required. The LicenseConfig to create.
.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
|
clearLicenseConfigId()
public CreateLicenseConfigRequest.Builder clearLicenseConfigId() Optional. The ID to use for the
LicenseConfig, which
will become the final component of the
LicenseConfig's
resource name. We are using the tier (product edition) name as the license
config id such as search or search_and_assistant.
string license_config_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
This builder for chaining. |
clearParent()
public CreateLicenseConfigRequest.Builder clearParent() Required. The parent resource name, such as
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateLicenseConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLicenseConfig()
public LicenseConfig getLicenseConfig()Required. The LicenseConfig to create.
.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The licenseConfig. |
getLicenseConfigBuilder()
public LicenseConfig.Builder getLicenseConfigBuilder()Required. The LicenseConfig to create.
.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LicenseConfig.Builder |
|
getLicenseConfigId()
public String getLicenseConfigId() Optional. The ID to use for the
LicenseConfig, which
will become the final component of the
LicenseConfig's
resource name. We are using the tier (product edition) name as the license
config id such as search or search_and_assistant.
string license_config_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The licenseConfigId. |
getLicenseConfigIdBytes()
public ByteString getLicenseConfigIdBytes() Optional. The ID to use for the
LicenseConfig, which
will become the final component of the
LicenseConfig's
resource name. We are using the tier (product edition) name as the license
config id such as search or search_and_assistant.
string license_config_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for licenseConfigId. |
getLicenseConfigOrBuilder()
public LicenseConfigOrBuilder getLicenseConfigOrBuilder()Required. The LicenseConfig to create.
.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LicenseConfigOrBuilder |
|
getParent()
public String getParent() Required. The parent resource name, such as
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource name, such as
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasLicenseConfig()
public boolean hasLicenseConfig()Required. The LicenseConfig to create.
.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the licenseConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateLicenseConfigRequest other)
public CreateLicenseConfigRequest.Builder mergeFrom(CreateLicenseConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateLicenseConfigRequest |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateLicenseConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateLicenseConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
|
mergeLicenseConfig(LicenseConfig value)
public CreateLicenseConfigRequest.Builder mergeLicenseConfig(LicenseConfig value)Required. The LicenseConfig to create.
.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LicenseConfig |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
|
setLicenseConfig(LicenseConfig value)
public CreateLicenseConfigRequest.Builder setLicenseConfig(LicenseConfig value)Required. The LicenseConfig to create.
.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LicenseConfig |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
|
setLicenseConfig(LicenseConfig.Builder builderForValue)
public CreateLicenseConfigRequest.Builder setLicenseConfig(LicenseConfig.Builder builderForValue)Required. The LicenseConfig to create.
.google.cloud.discoveryengine.v1beta.LicenseConfig license_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LicenseConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
|
setLicenseConfigId(String value)
public CreateLicenseConfigRequest.Builder setLicenseConfigId(String value) Optional. The ID to use for the
LicenseConfig, which
will become the final component of the
LicenseConfig's
resource name. We are using the tier (product edition) name as the license
config id such as search or search_and_assistant.
string license_config_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe licenseConfigId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
This builder for chaining. |
setLicenseConfigIdBytes(ByteString value)
public CreateLicenseConfigRequest.Builder setLicenseConfigIdBytes(ByteString value) Optional. The ID to use for the
LicenseConfig, which
will become the final component of the
LicenseConfig's
resource name. We are using the tier (product edition) name as the license
config id such as search or search_and_assistant.
string license_config_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for licenseConfigId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateLicenseConfigRequest.Builder setParent(String value) Required. The parent resource name, such as
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateLicenseConfigRequest.Builder setParentBytes(ByteString value) Required. The parent resource name, such as
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest.Builder |
This builder for chaining. |