Class CreateChallengeRequest.Builder (0.40.0)

public static final class CreateChallengeRequest.Builder extends GeneratedMessageV3.Builder<CreateChallengeRequest.Builder> implements CreateChallengeRequestOrBuilder

Message for creating a Challenge

Protobuf type google.cloud.confidentialcomputing.v1alpha1.CreateChallengeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateChallengeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

build()

public CreateChallengeRequest build()
Returns
Type Description
CreateChallengeRequest

buildPartial()

public CreateChallengeRequest buildPartial()
Returns
Type Description
CreateChallengeRequest

clear()

public CreateChallengeRequest.Builder clear()
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

clearChallenge()

public CreateChallengeRequest.Builder clearChallenge()

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)

public CreateChallengeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateChallengeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

clearParent()

public CreateChallengeRequest.Builder clearParent()

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()

public CreateChallengeRequest.Builder clone()
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

getChallenge()

public Challenge getChallenge()

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()

public Challenge.Builder getChallengeBuilder()

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()

public ChallengeOrBuilder getChallengeOrBuilder()

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()

public CreateChallengeRequest getDefaultInstanceForType()
Returns
Type Description
CreateChallengeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

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()

public ByteString getParentBytes()

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()

public boolean hasChallenge()

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()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeChallenge(Challenge value)

public CreateChallengeRequest.Builder mergeChallenge(Challenge value)

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)

public CreateChallengeRequest.Builder mergeFrom(CreateChallengeRequest other)
Parameter
Name Description
other CreateChallengeRequest
Returns
Type Description
CreateChallengeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateChallengeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateChallengeRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateChallengeRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateChallengeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

setChallenge(Challenge value)

public CreateChallengeRequest.Builder setChallenge(Challenge value)

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)

public CreateChallengeRequest.Builder setChallenge(Challenge.Builder builderForValue)

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)

public CreateChallengeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

setParent(String value)

public CreateChallengeRequest.Builder setParent(String value)

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)

public CreateChallengeRequest.Builder setParentBytes(ByteString value)

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)

public CreateChallengeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateChallengeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateChallengeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateChallengeRequest.Builder
Overrides