Interface ChallengeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Challenge,Challenge.Builder
public interface ChallengeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.com.google.protobuf.TimestampgetExpireTime()Output only.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.ByteStringgetNonce()Output only.booleangetUsed()Output only.booleanhasCreateTime()Output only.booleanhasExpireTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name for this Challenge in the format `projects/*/locations/*/challenges/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name for this Challenge in the format `projects/*/locations/*/challenges/*`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasExpireTime
boolean hasExpireTime()
Output only. The time at which this Challenge will no longer be usable. It is also the expiration time for any tokens generated from this Challenge.
.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the expireTime field is set.
-
getExpireTime
com.google.protobuf.Timestamp getExpireTime()
Output only. The time at which this Challenge will no longer be usable. It is also the expiration time for any tokens generated from this Challenge.
.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. The time at which this Challenge will no longer be usable. It is also the expiration time for any tokens generated from this Challenge.
.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUsed
boolean getUsed()
Output only. Indicates if this challenge has been used to generate a token.
bool used = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The used.
-
getNonce
com.google.protobuf.ByteString getNonce()
Output only. Random data which should be used when calling TPM2_Quote. --
bytes nonce = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The nonce.
-
-