Class CreateChallengeRequest.Builder (0.16.0)

publicstaticfinalclass CreateChallengeRequest.BuilderextendsGeneratedMessageV3.Builder<CreateChallengeRequest.Builder>implementsCreateChallengeRequestOrBuilder

Message for creating a Challenge

Protobuf type google.cloud.confidentialcomputing.v1alpha1.CreateChallengeRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicCreateChallengeRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

build()

publicCreateChallengeRequestbuild()
Returns
Type Description
CreateChallengeRequest

buildPartial()

publicCreateChallengeRequestbuildPartial()
Returns
Type Description
CreateChallengeRequest

clear()

publicCreateChallengeRequest.Builderclear()
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

clearChallenge()

publicCreateChallengeRequest.BuilderclearChallenge()

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

.google.cloud.confidentialcomputing.v1alpha1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateChallengeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

publicCreateChallengeRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicCreateChallengeRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

clearParent()

publicCreateChallengeRequest.BuilderclearParent()

Required. The resource name of the location where the Challenge will be used, in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateChallengeRequest.Builder

This builder for chaining.

clone()

publicCreateChallengeRequest.Builderclone()
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

getChallenge()

publicChallengegetChallenge()

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

.google.cloud.confidentialcomputing.v1alpha1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Challenge

The challenge.

getChallengeBuilder()

publicChallenge.BuildergetChallengeBuilder()

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

.google.cloud.confidentialcomputing.v1alpha1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Challenge.Builder

getChallengeOrBuilder()

publicChallengeOrBuildergetChallengeOrBuilder()

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

.google.cloud.confidentialcomputing.v1alpha1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChallengeOrBuilder

getDefaultInstanceForType()

publicCreateChallengeRequestgetDefaultInstanceForType()
Returns
Type Description
CreateChallengeRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

publicStringgetParent()

Required. The resource name of the location where the Challenge will be used, in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. The resource name of the location where the Challenge will be used, in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasChallenge()

publicbooleanhasChallenge()

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

.google.cloud.confidentialcomputing.v1alpha1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the challenge field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeChallenge(Challenge value)

publicCreateChallengeRequest.BuildermergeChallenge(Challengevalue)

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

.google.cloud.confidentialcomputing.v1alpha1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Challenge
Returns
Type Description
CreateChallengeRequest.Builder

mergeFrom(CreateChallengeRequest other)

publicCreateChallengeRequest.BuildermergeFrom(CreateChallengeRequestother)
Parameter
Name Description
other CreateChallengeRequest
Returns
Type Description
CreateChallengeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicCreateChallengeRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateChallengeRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicCreateChallengeRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateChallengeRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

setChallenge(Challenge value)

publicCreateChallengeRequest.BuildersetChallenge(Challengevalue)

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

.google.cloud.confidentialcomputing.v1alpha1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Challenge
Returns
Type Description
CreateChallengeRequest.Builder

setChallenge(Challenge.Builder builderForValue)

publicCreateChallengeRequest.BuildersetChallenge(Challenge.BuilderbuilderForValue)

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

.google.cloud.confidentialcomputing.v1alpha1.Challenge challenge = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Challenge.Builder
Returns
Type Description
CreateChallengeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicCreateChallengeRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

setParent(String value)

publicCreateChallengeRequest.BuildersetParent(Stringvalue)

Required. The resource name of the location where the Challenge will be used, in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateChallengeRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

publicCreateChallengeRequest.BuildersetParentBytes(ByteStringvalue)

Required. The resource name of the location where the Challenge will be used, in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateChallengeRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicCreateChallengeRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCreateChallengeRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.