- 0.74.0 (latest)
 - 0.72.0
 - 0.71.0
 - 0.70.0
 - 0.69.0
 - 0.68.0
 - 0.66.0
 - 0.64.0
 - 0.63.0
 - 0.60.0
 - 0.59.0
 - 0.58.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.53.0
 - 0.52.0
 - 0.51.0
 - 0.50.0
 - 0.49.0
 - 0.48.0
 - 0.47.0
 - 0.45.0
 - 0.44.0
 - 0.43.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.37.0
 - 0.36.0
 - 0.35.0
 - 0.33.0
 - 0.32.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.25.0
 - 0.24.0
 - 0.23.0
 - 0.20.0
 - 0.19.0
 - 0.18.0
 - 0.17.0
 - 0.16.0
 - 0.15.0
 - 0.14.0
 - 0.13.0
 - 0.12.0
 - 0.11.0
 - 0.10.0
 - 0.9.0
 - 0.8.0
 - 0.7.0
 - 0.5.0
 - 0.4.0
 - 0.3.0
 - 0.2.0
 - 0.1.0
 
public static final class Project.ServiceTerms.Builder extends GeneratedMessageV3.Builder<Project.ServiceTerms.Builder> implements Project.ServiceTermsOrBuilderMetadata about the terms of service.
 Protobuf type google.cloud.discoveryengine.v1alpha.Project.ServiceTerms
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Project.ServiceTerms.BuilderImplements
Project.ServiceTermsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Project.ServiceTerms.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
build()
public Project.ServiceTerms build()| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms | 
        |
buildPartial()
public Project.ServiceTerms buildPartial()| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms | 
        |
clear()
public Project.ServiceTerms.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
clearAcceptTime()
public Project.ServiceTerms.Builder clearAcceptTime()The last time when the project agreed to the terms of service.
 .google.protobuf.Timestamp accept_time = 5;
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
clearDeclineTime()
public Project.ServiceTerms.Builder clearDeclineTime()The last time when the project declined or revoked the agreement to terms of service.
 .google.protobuf.Timestamp decline_time = 6;
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public Project.ServiceTerms.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
clearId()
public Project.ServiceTerms.Builder clearId()The unique identifier of this terms of service. Available terms:
GA_DATA_USE_TERMS: Terms for data use. When using this asid, the acceptable version to provide is2022-11-23.
 string id = 1;
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Project.ServiceTerms.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
clearState()
public Project.ServiceTerms.Builder clearState()Whether the project has accepted/rejected the service terms or it is still pending.
 .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        This builder for chaining.  | 
      
clearVersion()
public Project.ServiceTerms.Builder clearVersion()The version string of the terms of service. For acceptable values, see the comments for id above.
 string version = 2;
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        This builder for chaining.  | 
      
clone()
public Project.ServiceTerms.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
getAcceptTime()
public Timestamp getAcceptTime()The last time when the project agreed to the terms of service.
 .google.protobuf.Timestamp accept_time = 5;
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The acceptTime.  | 
      
getAcceptTimeBuilder()
public Timestamp.Builder getAcceptTimeBuilder()The last time when the project agreed to the terms of service.
 .google.protobuf.Timestamp accept_time = 5;
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getAcceptTimeOrBuilder()
public TimestampOrBuilder getAcceptTimeOrBuilder()The last time when the project agreed to the terms of service.
 .google.protobuf.Timestamp accept_time = 5;
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getDeclineTime()
public Timestamp getDeclineTime()The last time when the project declined or revoked the agreement to terms of service.
 .google.protobuf.Timestamp decline_time = 6;
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The declineTime.  | 
      
getDeclineTimeBuilder()
public Timestamp.Builder getDeclineTimeBuilder()The last time when the project declined or revoked the agreement to terms of service.
 .google.protobuf.Timestamp decline_time = 6;
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getDeclineTimeOrBuilder()
public TimestampOrBuilder getDeclineTimeOrBuilder()The last time when the project declined or revoked the agreement to terms of service.
 .google.protobuf.Timestamp decline_time = 6;
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getDefaultInstanceForType()
public Project.ServiceTerms getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getId()
public String getId()The unique identifier of this terms of service. Available terms:
GA_DATA_USE_TERMS: Terms for data use. When using this asid, the acceptable version to provide is2022-11-23.
 string id = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The id.  | 
      
getIdBytes()
public ByteString getIdBytes()The unique identifier of this terms of service. Available terms:
GA_DATA_USE_TERMS: Terms for data use. When using this asid, the acceptable version to provide is2022-11-23.
 string id = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for id.  | 
      
getState()
public Project.ServiceTerms.State getState()Whether the project has accepted/rejected the service terms or it is still pending.
 .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.State | 
        The state.  | 
      
getStateValue()
public int getStateValue()Whether the project has accepted/rejected the service terms or it is still pending.
 .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for state.  | 
      
getVersion()
public String getVersion()The version string of the terms of service. For acceptable values, see the comments for id above.
 string version = 2;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The version.  | 
      
getVersionBytes()
public ByteString getVersionBytes()The version string of the terms of service. For acceptable values, see the comments for id above.
 string version = 2;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for version.  | 
      
hasAcceptTime()
public boolean hasAcceptTime()The last time when the project agreed to the terms of service.
 .google.protobuf.Timestamp accept_time = 5;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the acceptTime field is set.  | 
      
hasDeclineTime()
public boolean hasDeclineTime()The last time when the project declined or revoked the agreement to terms of service.
 .google.protobuf.Timestamp decline_time = 6;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the declineTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeAcceptTime(Timestamp value)
public Project.ServiceTerms.Builder mergeAcceptTime(Timestamp value)The last time when the project agreed to the terms of service.
 .google.protobuf.Timestamp accept_time = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
mergeDeclineTime(Timestamp value)
public Project.ServiceTerms.Builder mergeDeclineTime(Timestamp value)The last time when the project declined or revoked the agreement to terms of service.
 .google.protobuf.Timestamp decline_time = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
mergeFrom(Project.ServiceTerms other)
public Project.ServiceTerms.Builder mergeFrom(Project.ServiceTerms other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Project.ServiceTerms | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Project.ServiceTerms.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Project.ServiceTerms.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Project.ServiceTerms.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
setAcceptTime(Timestamp value)
public Project.ServiceTerms.Builder setAcceptTime(Timestamp value)The last time when the project agreed to the terms of service.
 .google.protobuf.Timestamp accept_time = 5;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
setAcceptTime(Timestamp.Builder builderForValue)
public Project.ServiceTerms.Builder setAcceptTime(Timestamp.Builder builderForValue)The last time when the project agreed to the terms of service.
 .google.protobuf.Timestamp accept_time = 5;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
setDeclineTime(Timestamp value)
public Project.ServiceTerms.Builder setDeclineTime(Timestamp value)The last time when the project declined or revoked the agreement to terms of service.
 .google.protobuf.Timestamp decline_time = 6;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
setDeclineTime(Timestamp.Builder builderForValue)
public Project.ServiceTerms.Builder setDeclineTime(Timestamp.Builder builderForValue)The last time when the project declined or revoked the agreement to terms of service.
 .google.protobuf.Timestamp decline_time = 6;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public Project.ServiceTerms.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
setId(String value)
public Project.ServiceTerms.Builder setId(String value)The unique identifier of this terms of service. Available terms:
GA_DATA_USE_TERMS: Terms for data use. When using this asid, the acceptable version to provide is2022-11-23.
 string id = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe id to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        This builder for chaining.  | 
      
setIdBytes(ByteString value)
public Project.ServiceTerms.Builder setIdBytes(ByteString value)The unique identifier of this terms of service. Available terms:
GA_DATA_USE_TERMS: Terms for data use. When using this asid, the acceptable version to provide is2022-11-23.
 string id = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for id to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Project.ServiceTerms.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
setState(Project.ServiceTerms.State value)
public Project.ServiceTerms.Builder setState(Project.ServiceTerms.State value)Whether the project has accepted/rejected the service terms or it is still pending.
 .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Project.ServiceTerms.StateThe state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        This builder for chaining.  | 
      
setStateValue(int value)
public Project.ServiceTerms.Builder setStateValue(int value)Whether the project has accepted/rejected the service terms or it is still pending.
 .google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State state = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for state to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Project.ServiceTerms.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        |
setVersion(String value)
public Project.ServiceTerms.Builder setVersion(String value)The version string of the terms of service. For acceptable values, see the comments for id above.
 string version = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe version to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        This builder for chaining.  | 
      
setVersionBytes(ByteString value)
public Project.ServiceTerms.Builder setVersionBytes(ByteString value)The version string of the terms of service. For acceptable values, see the comments for id above.
 string version = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for version to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Project.ServiceTerms.Builder | 
        This builder for chaining.  |