public static final class WidgetConfig.CustomerProvidedConfig.Builder extends GeneratedMessage.Builder<WidgetConfig.CustomerProvidedConfig.Builder> implements WidgetConfig.CustomerProvidedConfigOrBuilderCustomer provided configurations.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WidgetConfig.CustomerProvidedConfig.BuilderImplements
WidgetConfig.CustomerProvidedConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WidgetConfig.CustomerProvidedConfig build()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig |
|
buildPartial()
public WidgetConfig.CustomerProvidedConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig |
|
clear()
public WidgetConfig.CustomerProvidedConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
|
clearComplianceLevel()
public WidgetConfig.CustomerProvidedConfig.Builder clearComplianceLevel()Output only. The customer's Assured Workloads compliance level.
customer_type collapses every compliance level into a single
GOVERNMENT_CUSTOMER value, so a client that gates a feature on one
specific level rather than on government status as a whole must read
this field instead.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.ComplianceLevel compliance_level = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
This builder for chaining. |
clearCustomerType()
public WidgetConfig.CustomerProvidedConfig.Builder clearCustomerType()Customer type.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.CustomerType customer_type = 1;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
This builder for chaining. |
getComplianceLevel()
public WidgetConfig.CustomerProvidedConfig.ComplianceLevel getComplianceLevel()Output only. The customer's Assured Workloads compliance level.
customer_type collapses every compliance level into a single
GOVERNMENT_CUSTOMER value, so a client that gates a feature on one
specific level rather than on government status as a whole must read
this field instead.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.ComplianceLevel compliance_level = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.ComplianceLevel |
The complianceLevel. |
getComplianceLevelValue()
public int getComplianceLevelValue()Output only. The customer's Assured Workloads compliance level.
customer_type collapses every compliance level into a single
GOVERNMENT_CUSTOMER value, so a client that gates a feature on one
specific level rather than on government status as a whole must read
this field instead.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.ComplianceLevel compliance_level = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for complianceLevel. |
getCustomerType()
public WidgetConfig.CustomerProvidedConfig.CustomerType getCustomerType()Customer type.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.CustomerType customer_type = 1;
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.CustomerType |
The customerType. |
getCustomerTypeValue()
public int getCustomerTypeValue()Customer type.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.CustomerType customer_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for customerType. |
getDefaultInstanceForType()
public WidgetConfig.CustomerProvidedConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(WidgetConfig.CustomerProvidedConfig other)
public WidgetConfig.CustomerProvidedConfig.Builder mergeFrom(WidgetConfig.CustomerProvidedConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
WidgetConfig.CustomerProvidedConfig |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WidgetConfig.CustomerProvidedConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WidgetConfig.CustomerProvidedConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
|
setComplianceLevel(WidgetConfig.CustomerProvidedConfig.ComplianceLevel value)
public WidgetConfig.CustomerProvidedConfig.Builder setComplianceLevel(WidgetConfig.CustomerProvidedConfig.ComplianceLevel value)Output only. The customer's Assured Workloads compliance level.
customer_type collapses every compliance level into a single
GOVERNMENT_CUSTOMER value, so a client that gates a feature on one
specific level rather than on government status as a whole must read
this field instead.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.ComplianceLevel compliance_level = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.CustomerProvidedConfig.ComplianceLevelThe complianceLevel to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
This builder for chaining. |
setComplianceLevelValue(int value)
public WidgetConfig.CustomerProvidedConfig.Builder setComplianceLevelValue(int value)Output only. The customer's Assured Workloads compliance level.
customer_type collapses every compliance level into a single
GOVERNMENT_CUSTOMER value, so a client that gates a feature on one
specific level rather than on government status as a whole must read
this field instead.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.ComplianceLevel compliance_level = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for complianceLevel to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
This builder for chaining. |
setCustomerType(WidgetConfig.CustomerProvidedConfig.CustomerType value)
public WidgetConfig.CustomerProvidedConfig.Builder setCustomerType(WidgetConfig.CustomerProvidedConfig.CustomerType value)Customer type.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.CustomerType customer_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
WidgetConfig.CustomerProvidedConfig.CustomerTypeThe customerType to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
This builder for chaining. |
setCustomerTypeValue(int value)
public WidgetConfig.CustomerProvidedConfig.Builder setCustomerTypeValue(int value)Customer type.
.google.cloud.discoveryengine.v1.WidgetConfig.CustomerProvidedConfig.CustomerType customer_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for customerType to set. |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.CustomerProvidedConfig.Builder |
This builder for chaining. |