Interface Project.ServiceTermsOrBuilder (0.45.0)

public static interface Project.ServiceTermsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceptTime()

public abstract 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.

getAcceptTimeOrBuilder()

public abstract 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 abstract 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.

getDeclineTimeOrBuilder()

public abstract 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

getId()

public abstract String getId()

The unique identifier of this terms of service. Available terms:

  • GA_DATA_USE_TERMS: Terms for data use. When using this as id, the acceptable version to provide is 2022-11-23.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The unique identifier of this terms of service. Available terms:

  • GA_DATA_USE_TERMS: Terms for data use. When using this as id, the acceptable version to provide is 2022-11-23.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getState()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.