public static final class Project.Builder extends GeneratedMessage.Builder<Project.Builder> implements ProjectOrBuilderMetadata and configurations for a Google Cloud project in the service.
Protobuf type google.cloud.discoveryengine.v1beta.Project
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Project.BuilderImplements
ProjectOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Project build()| Returns | |
|---|---|
| Type | Description |
Project |
|
buildPartial()
public Project buildPartial()| Returns | |
|---|---|
| Type | Description |
Project |
|
clear()
public Project.Builder clear()| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
clearConfigurableBillingStatus()
public Project.Builder clearConfigurableBillingStatus()Output only. The current status of the project's configurable billing.
.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus configurable_billing_status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
clearCreateTime()
public Project.Builder clearCreateTime()Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
clearCustomerProvidedConfig()
public Project.Builder clearCustomerProvidedConfig()Optional. Customer provided configurations.
.google.cloud.discoveryengine.v1beta.Project.CustomerProvidedConfig customer_provided_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
clearName()
public Project.Builder clearName() Output only. Full resource name of the project, for example
projects/{project}.
Note that when making requests, project number and project id are both
acceptable, but the server will always respond in project number.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
This builder for chaining. |
clearProvisionCompletionTime()
public Project.Builder clearProvisionCompletionTime()Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.
.google.protobuf.Timestamp provision_completion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
clearServiceTermsMap()
public Project.Builder clearServiceTermsMap()| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
containsServiceTermsMap(String key)
public boolean containsServiceTermsMap(String key) Output only. A map of terms of services. The key is the id of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1beta.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getConfigurableBillingStatus()
public Project.ConfigurableBillingStatus getConfigurableBillingStatus()Output only. The current status of the project's configurable billing.
.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus configurable_billing_status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Project.ConfigurableBillingStatus |
The configurableBillingStatus. |
getConfigurableBillingStatusBuilder()
public Project.ConfigurableBillingStatus.Builder getConfigurableBillingStatusBuilder()Output only. The current status of the project's configurable billing.
.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus configurable_billing_status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Project.ConfigurableBillingStatus.Builder |
|
getConfigurableBillingStatusOrBuilder()
public Project.ConfigurableBillingStatusOrBuilder getConfigurableBillingStatusOrBuilder()Output only. The current status of the project's configurable billing.
.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus configurable_billing_status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Project.ConfigurableBillingStatusOrBuilder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCustomerProvidedConfig()
public Project.CustomerProvidedConfig getCustomerProvidedConfig()Optional. Customer provided configurations.
.google.cloud.discoveryengine.v1beta.Project.CustomerProvidedConfig customer_provided_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Project.CustomerProvidedConfig |
The customerProvidedConfig. |
getCustomerProvidedConfigBuilder()
public Project.CustomerProvidedConfig.Builder getCustomerProvidedConfigBuilder()Optional. Customer provided configurations.
.google.cloud.discoveryengine.v1beta.Project.CustomerProvidedConfig customer_provided_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Project.CustomerProvidedConfig.Builder |
|
getCustomerProvidedConfigOrBuilder()
public Project.CustomerProvidedConfigOrBuilder getCustomerProvidedConfigOrBuilder()Optional. Customer provided configurations.
.google.cloud.discoveryengine.v1beta.Project.CustomerProvidedConfig customer_provided_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Project.CustomerProvidedConfigOrBuilder |
|
getDefaultInstanceForType()
public Project getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Project |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableServiceTermsMap() (deprecated)
public Map<String,Project.ServiceTerms> getMutableServiceTermsMap()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ServiceTerms> |
|
getName()
public String getName() Output only. Full resource name of the project, for example
projects/{project}.
Note that when making requests, project number and project id are both
acceptable, but the server will always respond in project number.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Output only. Full resource name of the project, for example
projects/{project}.
Note that when making requests, project number and project id are both
acceptable, but the server will always respond in project number.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getProvisionCompletionTime()
public Timestamp getProvisionCompletionTime()Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.
.google.protobuf.Timestamp provision_completion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The provisionCompletionTime. |
getProvisionCompletionTimeBuilder()
public Timestamp.Builder getProvisionCompletionTimeBuilder()Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.
.google.protobuf.Timestamp provision_completion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getProvisionCompletionTimeOrBuilder()
public TimestampOrBuilder getProvisionCompletionTimeOrBuilder()Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.
.google.protobuf.Timestamp provision_completion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getServiceTermsMap() (deprecated)
public Map<String,Project.ServiceTerms> getServiceTermsMap()Use #getServiceTermsMapMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ServiceTerms> |
|
getServiceTermsMapCount()
public int getServiceTermsMapCount() Output only. A map of terms of services. The key is the id of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1beta.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getServiceTermsMapMap()
public Map<String,Project.ServiceTerms> getServiceTermsMapMap() Output only. A map of terms of services. The key is the id of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1beta.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,ServiceTerms> |
|
getServiceTermsMapOrDefault(String key, Project.ServiceTerms defaultValue)
public Project.ServiceTerms getServiceTermsMapOrDefault(String key, Project.ServiceTerms defaultValue) Output only. A map of terms of services. The key is the id of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1beta.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
Project.ServiceTerms |
| Returns | |
|---|---|
| Type | Description |
Project.ServiceTerms |
|
getServiceTermsMapOrThrow(String key)
public Project.ServiceTerms getServiceTermsMapOrThrow(String key) Output only. A map of terms of services. The key is the id of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1beta.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Project.ServiceTerms |
|
hasConfigurableBillingStatus()
public boolean hasConfigurableBillingStatus()Output only. The current status of the project's configurable billing.
.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus configurable_billing_status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the configurableBillingStatus field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasCustomerProvidedConfig()
public boolean hasCustomerProvidedConfig()Optional. Customer provided configurations.
.google.cloud.discoveryengine.v1beta.Project.CustomerProvidedConfig customer_provided_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customerProvidedConfig field is set. |
hasProvisionCompletionTime()
public boolean hasProvisionCompletionTime()Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.
.google.protobuf.Timestamp provision_completion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the provisionCompletionTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConfigurableBillingStatus(Project.ConfigurableBillingStatus value)
public Project.Builder mergeConfigurableBillingStatus(Project.ConfigurableBillingStatus value)Output only. The current status of the project's configurable billing.
.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus configurable_billing_status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Project.ConfigurableBillingStatus |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
mergeCreateTime(Timestamp value)
public Project.Builder mergeCreateTime(Timestamp value)Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
mergeCustomerProvidedConfig(Project.CustomerProvidedConfig value)
public Project.Builder mergeCustomerProvidedConfig(Project.CustomerProvidedConfig value)Optional. Customer provided configurations.
.google.cloud.discoveryengine.v1beta.Project.CustomerProvidedConfig customer_provided_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Project.CustomerProvidedConfig |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
mergeFrom(Project other)
public Project.Builder mergeFrom(Project other)| Parameter | |
|---|---|
| Name | Description |
other |
Project |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Project.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Project.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
mergeProvisionCompletionTime(Timestamp value)
public Project.Builder mergeProvisionCompletionTime(Timestamp value)Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.
.google.protobuf.Timestamp provision_completion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
putAllServiceTermsMap(Map<String,Project.ServiceTerms> values)
public Project.Builder putAllServiceTermsMap(Map<String,Project.ServiceTerms> values) Output only. A map of terms of services. The key is the id of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1beta.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,ServiceTerms> |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
putServiceTermsMap(String key, Project.ServiceTerms value)
public Project.Builder putServiceTermsMap(String key, Project.ServiceTerms value) Output only. A map of terms of services. The key is the id of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1beta.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
Project.ServiceTerms |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
putServiceTermsMapBuilderIfAbsent(String key)
public Project.ServiceTerms.Builder putServiceTermsMapBuilderIfAbsent(String key) Output only. A map of terms of services. The key is the id of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1beta.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Project.ServiceTerms.Builder |
|
removeServiceTermsMap(String key)
public Project.Builder removeServiceTermsMap(String key) Output only. A map of terms of services. The key is the id of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1beta.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
setConfigurableBillingStatus(Project.ConfigurableBillingStatus value)
public Project.Builder setConfigurableBillingStatus(Project.ConfigurableBillingStatus value)Output only. The current status of the project's configurable billing.
.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus configurable_billing_status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Project.ConfigurableBillingStatus |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
setConfigurableBillingStatus(Project.ConfigurableBillingStatus.Builder builderForValue)
public Project.Builder setConfigurableBillingStatus(Project.ConfigurableBillingStatus.Builder builderForValue)Output only. The current status of the project's configurable billing.
.google.cloud.discoveryengine.v1beta.Project.ConfigurableBillingStatus configurable_billing_status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Project.ConfigurableBillingStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
setCreateTime(Timestamp value)
public Project.Builder setCreateTime(Timestamp value)Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Project.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
setCustomerProvidedConfig(Project.CustomerProvidedConfig value)
public Project.Builder setCustomerProvidedConfig(Project.CustomerProvidedConfig value)Optional. Customer provided configurations.
.google.cloud.discoveryengine.v1beta.Project.CustomerProvidedConfig customer_provided_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Project.CustomerProvidedConfig |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
setCustomerProvidedConfig(Project.CustomerProvidedConfig.Builder builderForValue)
public Project.Builder setCustomerProvidedConfig(Project.CustomerProvidedConfig.Builder builderForValue)Optional. Customer provided configurations.
.google.cloud.discoveryengine.v1beta.Project.CustomerProvidedConfig customer_provided_config = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Project.CustomerProvidedConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
setName(String value)
public Project.Builder setName(String value) Output only. Full resource name of the project, for example
projects/{project}.
Note that when making requests, project number and project id are both
acceptable, but the server will always respond in project number.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Project.Builder setNameBytes(ByteString value) Output only. Full resource name of the project, for example
projects/{project}.
Note that when making requests, project number and project id are both
acceptable, but the server will always respond in project number.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
This builder for chaining. |
setProvisionCompletionTime(Timestamp value)
public Project.Builder setProvisionCompletionTime(Timestamp value)Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.
.google.protobuf.Timestamp provision_completion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
setProvisionCompletionTime(Timestamp.Builder builderForValue)
public Project.Builder setProvisionCompletionTime(Timestamp.Builder builderForValue)Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.
.google.protobuf.Timestamp provision_completion_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|