public static final class Project.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder> implements ProjectOrBuilder
Metadata and configurations for a Google Cloud project in the service.Protobuf type
google.cloud.discoveryengine.v1alpha.Project| Modifier and Type | Method and Description |
|---|---|
Project.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Project |
build() |
Project |
buildPartial() |
Project.Builder |
clear() |
Project.Builder |
clearCreateTime()
Output only.
|
Project.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Project.Builder |
clearName()
Output only.
|
Project.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Project.Builder |
clearProvisionCompletionTime()
Output only.
|
Project.Builder |
clearServiceTermsMap() |
Project.Builder |
clone() |
boolean |
containsServiceTermsMap(String key)
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Project |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,Project.ServiceTerms> |
getMutableServiceTermsMap()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Timestamp |
getProvisionCompletionTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getProvisionCompletionTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getProvisionCompletionTimeOrBuilder()
Output only.
|
Map<String,Project.ServiceTerms> |
getServiceTermsMap()
Deprecated.
|
int |
getServiceTermsMapCount()
Output only.
|
Map<String,Project.ServiceTerms> |
getServiceTermsMapMap()
Output only.
|
Project.ServiceTerms |
getServiceTermsMapOrDefault(String key,
Project.ServiceTerms defaultValue)
Output only.
|
Project.ServiceTerms |
getServiceTermsMapOrThrow(String key)
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasProvisionCompletionTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Project.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Project.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Project.Builder |
mergeFrom(com.google.protobuf.Message other) |
Project.Builder |
mergeFrom(Project other) |
Project.Builder |
mergeProvisionCompletionTime(com.google.protobuf.Timestamp value)
Output only.
|
Project.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Project.Builder |
putAllServiceTermsMap(Map<String,Project.ServiceTerms> values)
Output only.
|
Project.Builder |
putServiceTermsMap(String key,
Project.ServiceTerms value)
Output only.
|
Project.ServiceTerms.Builder |
putServiceTermsMapBuilderIfAbsent(String key)
Output only.
|
Project.Builder |
removeServiceTermsMap(String key)
Output only.
|
Project.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Project.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Project.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Project.Builder |
setName(String value)
Output only.
|
Project.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Project.Builder |
setProvisionCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Project.Builder |
setProvisionCompletionTime(com.google.protobuf.Timestamp value)
Output only.
|
Project.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Project.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public Project.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public Project getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Project build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Project buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Project.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public Project.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public Project.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public Project.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public Project.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public Project.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public Project.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Project.Builder>public Project.Builder mergeFrom(Project other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public Project.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Project.Builder>IOExceptionpublic String 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];getName in interface ProjectOrBuilderpublic com.google.protobuf.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];getNameBytes in interface ProjectOrBuilderpublic 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];value - The name to set.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];public Project.Builder setNameBytes(com.google.protobuf.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];value - The bytes for name to set.public boolean hasCreateTime()
Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface ProjectOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface ProjectOrBuilderpublic Project.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Project.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Project.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when this project is created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface ProjectOrBuilderpublic 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];
hasProvisionCompletionTime in interface ProjectOrBuilderpublic com.google.protobuf.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];
getProvisionCompletionTime in interface ProjectOrBuilderpublic Project.Builder setProvisionCompletionTime(com.google.protobuf.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];
public Project.Builder setProvisionCompletionTime(com.google.protobuf.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];
public Project.Builder mergeProvisionCompletionTime(com.google.protobuf.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];
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];
public com.google.protobuf.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];
public com.google.protobuf.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];
getProvisionCompletionTimeOrBuilder in interface ProjectOrBuilderpublic int getServiceTermsMapCount()
ProjectOrBuilderOutput only. A map of terms of services. The key is the `id` of [ServiceTerms][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms].
map<string, .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceTermsMapCount in interface ProjectOrBuilderpublic boolean containsServiceTermsMap(String key)
Output only. A map of terms of services. The key is the `id` of [ServiceTerms][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms].
map<string, .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsServiceTermsMap in interface ProjectOrBuilder@Deprecated public Map<String,Project.ServiceTerms> getServiceTermsMap()
getServiceTermsMapMap() instead.getServiceTermsMap in interface ProjectOrBuilderpublic Map<String,Project.ServiceTerms> getServiceTermsMapMap()
Output only. A map of terms of services. The key is the `id` of [ServiceTerms][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms].
map<string, .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceTermsMapMap in interface ProjectOrBuilderpublic Project.ServiceTerms getServiceTermsMapOrDefault(String key, Project.ServiceTerms defaultValue)
Output only. A map of terms of services. The key is the `id` of [ServiceTerms][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms].
map<string, .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceTermsMapOrDefault in interface ProjectOrBuilderpublic Project.ServiceTerms getServiceTermsMapOrThrow(String key)
Output only. A map of terms of services. The key is the `id` of [ServiceTerms][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms].
map<string, .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceTermsMapOrThrow in interface ProjectOrBuilderpublic Project.Builder clearServiceTermsMap()
public Project.Builder removeServiceTermsMap(String key)
Output only. A map of terms of services. The key is the `id` of [ServiceTerms][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms].
map<string, .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
@Deprecated public Map<String,Project.ServiceTerms> getMutableServiceTermsMap()
public Project.Builder putServiceTermsMap(String key, Project.ServiceTerms value)
Output only. A map of terms of services. The key is the `id` of [ServiceTerms][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms].
map<string, .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Project.Builder putAllServiceTermsMap(Map<String,Project.ServiceTerms> values)
Output only. A map of terms of services. The key is the `id` of [ServiceTerms][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms].
map<string, .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Project.ServiceTerms.Builder putServiceTermsMapBuilderIfAbsent(String key)
Output only. A map of terms of services. The key is the `id` of [ServiceTerms][google.cloud.discoveryengine.v1alpha.Project.ServiceTerms].
map<string, .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms> service_terms_map = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Project.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>public final Project.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Project.Builder>Copyright © 2024 Google LLC. All rights reserved.