Class Challenge.Builder (0.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.64.0 (latest)
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.54.0
- 0.53.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.46.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.35.0
- 0.34.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.23.0
- 0.22.0
- 0.21.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.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
publicstaticfinalclass Challenge.BuilderextendsGeneratedMessageV3.Builder<Challenge.Builder>implementsChallengeOrBuilderA Challenge from the server used to guarantee freshness of attestations
Protobuf type google.cloud.confidentialcomputing.v1.Challenge
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Challenge.BuilderImplements
ChallengeOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicChallenge.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
build()
publicChallengebuild()| Returns | |
|---|---|
| Type | Description |
Challenge |
|
buildPartial()
publicChallengebuildPartial()| Returns | |
|---|---|
| Type | Description |
Challenge |
|
clear()
publicChallenge.Builderclear()| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
clearCreateTime()
publicChallenge.BuilderclearCreateTime()Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
clearExpireTime()
publicChallenge.BuilderclearExpireTime()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 | |
|---|---|
| Type | Description |
Challenge.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicChallenge.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
clearName()
publicChallenge.BuilderclearName() Output only. The resource name for this Challenge in the format
projects/*/locations/*/challenges/*
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicChallenge.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
clearTpmNonce()
publicChallenge.BuilderclearTpmNonce()Output only. Identical to nonce, but as a string.
string tpm_nonce = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
This builder for chaining. |
clearUsed()
publicChallenge.BuilderclearUsed()Output only. Indicates if this challenge has been used to generate a token.
bool used = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
This builder for chaining. |
clone()
publicChallenge.Builderclone()| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
getCreateTime()
publicTimestampgetCreateTime()Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
publicTimestamp.BuildergetCreateTimeBuilder()Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
publicChallengegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Challenge |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpireTime()
publicTimestampgetExpireTime()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 | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
publicTimestamp.BuildergetExpireTimeBuilder()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 | |
|---|---|
| Type | Description |
Builder |
|
getExpireTimeOrBuilder()
publicTimestampOrBuildergetExpireTimeOrBuilder()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 | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getName()
publicStringgetName() Output only. The resource name for this Challenge in the format
projects/*/locations/*/challenges/*
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicByteStringgetNameBytes() Output only. The resource name for this Challenge in the format
projects/*/locations/*/challenges/*
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTpmNonce()
publicStringgetTpmNonce()Output only. Identical to nonce, but as a string.
string tpm_nonce = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The tpmNonce. |
getTpmNonceBytes()
publicByteStringgetTpmNonceBytes()Output only. Identical to nonce, but as a string.
string tpm_nonce = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tpmNonce. |
getUsed()
publicbooleangetUsed()Output only. Indicates if this challenge has been used to generate a token.
bool used = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The used. |
hasCreateTime()
publicbooleanhasCreateTime()Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasExpireTime()
publicbooleanhasExpireTime()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 | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
publicChallenge.BuildermergeCreateTime(Timestampvalue)Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
mergeExpireTime(Timestamp value)
publicChallenge.BuildermergeExpireTime(Timestampvalue)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
mergeFrom(Challenge other)
publicChallenge.BuildermergeFrom(Challengeother)| Parameter | |
|---|---|
| Name | Description |
other |
Challenge |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicChallenge.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicChallenge.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalChallenge.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
setCreateTime(Timestamp value)
publicChallenge.BuildersetCreateTime(Timestampvalue)Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
publicChallenge.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)Output only. The time at which this Challenge was created
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
setExpireTime(Timestamp value)
publicChallenge.BuildersetExpireTime(Timestampvalue)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
setExpireTime(Timestamp.Builder builderForValue)
publicChallenge.BuildersetExpireTime(Timestamp.BuilderbuilderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicChallenge.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
setName(String value)
publicChallenge.BuildersetName(Stringvalue) Output only. The resource name for this Challenge in the format
projects/*/locations/*/challenges/*
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
String The name to set. |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
publicChallenge.BuildersetNameBytes(ByteStringvalue) Output only. The resource name for this Challenge in the format
projects/*/locations/*/challenges/*
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicChallenge.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
setTpmNonce(String value)
publicChallenge.BuildersetTpmNonce(Stringvalue)Output only. Identical to nonce, but as a string.
string tpm_nonce = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
String The tpmNonce to set. |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
This builder for chaining. |
setTpmNonceBytes(ByteString value)
publicChallenge.BuildersetTpmNonceBytes(ByteStringvalue)Output only. Identical to nonce, but as a string.
string tpm_nonce = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for tpmNonce to set. |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalChallenge.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
|
setUsed(boolean value)
publicChallenge.BuildersetUsed(booleanvalue)Output only. Indicates if this challenge has been used to generate a token.
bool used = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
boolean The used to set. |
| Returns | |
|---|---|
| Type | Description |
Challenge.Builder |
This builder for chaining. |