public static final class CreateChallengeRequest.Builder extends GeneratedMessage.Builder<CreateChallengeRequest.Builder> implements CreateChallengeRequestOrBuilderMessage for creating a Challenge
Protobuf type google.cloud.confidentialcomputing.v1alpha1.CreateChallengeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateChallengeRequest.BuilderImplements
CreateChallengeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateChallengeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateChallengeRequest.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateChallengeRequest.Builder |
This builder for chaining. |