public static final class RetractLicenseConfigRequest.Builder extends GeneratedMessage.Builder<RetractLicenseConfigRequest.Builder> implements RetractLicenseConfigRequestOrBuilderRequest message for LicenseConfigService.RetractLicenseConfig method.
Protobuf type google.cloud.discoveryengine.v1beta.RetractLicenseConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RetractLicenseConfigRequest.BuilderImplements
RetractLicenseConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RetractLicenseConfigRequest build()| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest |
|
buildPartial()
public RetractLicenseConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest |
|
clear()
public RetractLicenseConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
|
clearBillingAccountLicenseConfig()
public RetractLicenseConfigRequest.Builder clearBillingAccountLicenseConfig()Required. Full resource name of [BillingAccountLicenseConfig][].
Format:
billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}.
string billing_account_license_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |
clearFullRetract()
public RetractLicenseConfigRequest.Builder clearFullRetract()Optional. If set to true, retract the entire license config. Otherwise, retract the specified license count.
bool full_retract = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |
clearLicenseConfig()
public RetractLicenseConfigRequest.Builder clearLicenseConfig()Required. Full resource name of LicenseConfig.
Format:
projects/{project}/locations/{location}/licenseConfigs/{license_config_id}.
string license_config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |
clearLicenseCount()
public RetractLicenseConfigRequest.Builder clearLicenseCount()Optional. The number of licenses to retract. Only used when full_retract is false.
int64 license_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |
getBillingAccountLicenseConfig()
public String getBillingAccountLicenseConfig()Required. Full resource name of [BillingAccountLicenseConfig][].
Format:
billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}.
string billing_account_license_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The billingAccountLicenseConfig. |
getBillingAccountLicenseConfigBytes()
public ByteString getBillingAccountLicenseConfigBytes()Required. Full resource name of [BillingAccountLicenseConfig][].
Format:
billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}.
string billing_account_license_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for billingAccountLicenseConfig. |
getDefaultInstanceForType()
public RetractLicenseConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFullRetract()
public boolean getFullRetract()Optional. If set to true, retract the entire license config. Otherwise, retract the specified license count.
bool full_retract = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The fullRetract. |
getLicenseConfig()
public String getLicenseConfig()Required. Full resource name of LicenseConfig.
Format:
projects/{project}/locations/{location}/licenseConfigs/{license_config_id}.
string license_config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The licenseConfig. |
getLicenseConfigBytes()
public ByteString getLicenseConfigBytes()Required. Full resource name of LicenseConfig.
Format:
projects/{project}/locations/{location}/licenseConfigs/{license_config_id}.
string license_config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for licenseConfig. |
getLicenseCount()
public long getLicenseCount()Optional. The number of licenses to retract. Only used when full_retract is false.
int64 license_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The licenseCount. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RetractLicenseConfigRequest other)
public RetractLicenseConfigRequest.Builder mergeFrom(RetractLicenseConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RetractLicenseConfigRequest |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RetractLicenseConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RetractLicenseConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
|
setBillingAccountLicenseConfig(String value)
public RetractLicenseConfigRequest.Builder setBillingAccountLicenseConfig(String value)Required. Full resource name of [BillingAccountLicenseConfig][].
Format:
billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}.
string billing_account_license_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe billingAccountLicenseConfig to set. |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |
setBillingAccountLicenseConfigBytes(ByteString value)
public RetractLicenseConfigRequest.Builder setBillingAccountLicenseConfigBytes(ByteString value)Required. Full resource name of [BillingAccountLicenseConfig][].
Format:
billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}.
string billing_account_license_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for billingAccountLicenseConfig to set. |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |
setFullRetract(boolean value)
public RetractLicenseConfigRequest.Builder setFullRetract(boolean value)Optional. If set to true, retract the entire license config. Otherwise, retract the specified license count.
bool full_retract = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe fullRetract to set. |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |
setLicenseConfig(String value)
public RetractLicenseConfigRequest.Builder setLicenseConfig(String value)Required. Full resource name of LicenseConfig.
Format:
projects/{project}/locations/{location}/licenseConfigs/{license_config_id}.
string license_config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe licenseConfig to set. |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |
setLicenseConfigBytes(ByteString value)
public RetractLicenseConfigRequest.Builder setLicenseConfigBytes(ByteString value)Required. Full resource name of LicenseConfig.
Format:
projects/{project}/locations/{location}/licenseConfigs/{license_config_id}.
string license_config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for licenseConfig to set. |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |
setLicenseCount(long value)
public RetractLicenseConfigRequest.Builder setLicenseCount(long value)Optional. The number of licenses to retract. Only used when full_retract is false.
int64 license_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe licenseCount to set. |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigRequest.Builder |
This builder for chaining. |