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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateChallengeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateChallengeRequest build()
buildPartial()
public CreateChallengeRequest buildPartial()
clear()
public CreateChallengeRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateChallengeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateChallengeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateChallengeRequest.Builder clone()
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];
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];
getDefaultInstanceForType()
public CreateChallengeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateChallengeRequest other)
public CreateChallengeRequest.Builder mergeFrom(CreateChallengeRequest other)
public CreateChallengeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateChallengeRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateChallengeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateChallengeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateChallengeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateChallengeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides