public static final class Project.Builder extends GeneratedMessageV3.Builder<Project.Builder> implements ProjectOrBuilder
Metadata and configurations for a Google Cloud project in the service.
Protobuf type google.cloud.discoveryengine.v1.Project
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Project.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Project buildPartial()
clear()
public Project.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public Project.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public Project.Builder clearName()
Output only. Full resource name of the project, for example
projects/{project_number}
.
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public Project.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clearServiceTermsMap()
public Project.Builder clearServiceTermsMap()
clone()
public Project.Builder clone()
Overrides
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.v1.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
key |
String
|
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];
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];
getDefaultInstanceForType()
public Project getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableServiceTermsMap() (deprecated)
public Map<String,Project.ServiceTerms> getMutableServiceTermsMap()
Use alternate mutation accessors instead.
getName()
Output only. Full resource name of the project, for example
projects/{project_number}
.
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_number}
.
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];
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];
getServiceTermsMap() (deprecated)
public Map<String,Project.ServiceTerms> getServiceTermsMap()
getServiceTermsMapCount()
public int getServiceTermsMapCount()
Output only. A map of terms of services. The key is the id
of
ServiceTerms.
map<string, .google.cloud.discoveryengine.v1.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.v1.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
key |
String
|
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.
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
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];
mergeFrom(Project other)
public Project.Builder mergeFrom(Project other)
Parameter |
Name |
Description |
other |
Project
|
public Project.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Project.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Project.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.v1.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
key |
String
|
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.v1.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
key |
String
|
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Project.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public Project.Builder setName(String value)
Output only. Full resource name of the project, for example
projects/{project_number}
.
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 |
String
The name to set.
|
setNameBytes(ByteString value)
public Project.Builder setNameBytes(ByteString value)
Output only. Full resource name of the project, for example
projects/{project_number}
.
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 |
ByteString
The bytes for name to set.
|
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];
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Project.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Project.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides