public static final class Service.CreateAttestorRequest.Builder extends GeneratedMessage.Builder<Service.CreateAttestorRequest.Builder> implements Service.CreateAttestorRequestOrBuilderRequest message for [BinauthzManagementService.CreateAttestor][].
Protobuf type google.cloud.binaryauthorization.v1.CreateAttestorRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Service.CreateAttestorRequest.BuilderImplements
Service.CreateAttestorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Service.CreateAttestorRequest build()| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest |
|
buildPartial()
public Service.CreateAttestorRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest |
|
clear()
public Service.CreateAttestorRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
|
clearAttestor()
public Service.CreateAttestorRequest.Builder clearAttestor() Required. The initial attestor value. The service will
overwrite the attestor name field with the resource name,
in the format projects/*/attestors/*.
.google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
|
clearAttestorId()
public Service.CreateAttestorRequest.Builder clearAttestorId()Required. The attestors ID.
string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
This builder for chaining. |
clearParent()
public Service.CreateAttestorRequest.Builder clearParent()Required. The parent of this attestor.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
This builder for chaining. |
getAttestor()
public Resources.Attestor getAttestor() Required. The initial attestor value. The service will
overwrite the attestor name field with the resource name,
in the format projects/*/attestors/*.
.google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Resources.Attestor |
The attestor. |
getAttestorBuilder()
public Resources.Attestor.Builder getAttestorBuilder() Required. The initial attestor value. The service will
overwrite the attestor name field with the resource name,
in the format projects/*/attestors/*.
.google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Resources.Attestor.Builder |
|
getAttestorId()
public String getAttestorId()Required. The attestors ID.
string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The attestorId. |
getAttestorIdBytes()
public ByteString getAttestorIdBytes()Required. The attestors ID.
string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for attestorId. |
getAttestorOrBuilder()
public Resources.AttestorOrBuilder getAttestorOrBuilder() Required. The initial attestor value. The service will
overwrite the attestor name field with the resource name,
in the format projects/*/attestors/*.
.google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Resources.AttestorOrBuilder |
|
getDefaultInstanceForType()
public Service.CreateAttestorRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent of this attestor.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent of this attestor.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasAttestor()
public boolean hasAttestor() Required. The initial attestor value. The service will
overwrite the attestor name field with the resource name,
in the format projects/*/attestors/*.
.google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the attestor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAttestor(Resources.Attestor value)
public Service.CreateAttestorRequest.Builder mergeAttestor(Resources.Attestor value) Required. The initial attestor value. The service will
overwrite the attestor name field with the resource name,
in the format projects/*/attestors/*.
.google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Resources.Attestor |
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Service.CreateAttestorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Service.CreateAttestorRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
|
mergeFrom(Service.CreateAttestorRequest other)
public Service.CreateAttestorRequest.Builder mergeFrom(Service.CreateAttestorRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
Service.CreateAttestorRequest |
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
|
setAttestor(Resources.Attestor value)
public Service.CreateAttestorRequest.Builder setAttestor(Resources.Attestor value) Required. The initial attestor value. The service will
overwrite the attestor name field with the resource name,
in the format projects/*/attestors/*.
.google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Resources.Attestor |
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
|
setAttestor(Resources.Attestor.Builder builderForValue)
public Service.CreateAttestorRequest.Builder setAttestor(Resources.Attestor.Builder builderForValue) Required. The initial attestor value. The service will
overwrite the attestor name field with the resource name,
in the format projects/*/attestors/*.
.google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Resources.Attestor.Builder |
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
|
setAttestorId(String value)
public Service.CreateAttestorRequest.Builder setAttestorId(String value)Required. The attestors ID.
string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe attestorId to set. |
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
This builder for chaining. |
setAttestorIdBytes(ByteString value)
public Service.CreateAttestorRequest.Builder setAttestorIdBytes(ByteString value)Required. The attestors ID.
string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for attestorId to set. |
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
This builder for chaining. |
setParent(String value)
public Service.CreateAttestorRequest.Builder setParent(String value)Required. The parent of this attestor.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
Service.CreateAttestorRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public Service.CreateAttestorRequest.Builder setParentBytes(ByteString value)Required. The parent of this attestor.
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 |
Service.CreateAttestorRequest.Builder |
This builder for chaining. |