public static final class CreateAttestorRequest.Builder extends GeneratedMessageV3.Builder<CreateAttestorRequest.Builder> implements CreateAttestorRequestOrBuilder
Request message for [BinauthzManagementService.CreateAttestor][].
Protobuf type google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest
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()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateAttestorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateAttestorRequest build()
Returns
buildPartial()
public CreateAttestorRequest buildPartial()
Returns
clear()
public CreateAttestorRequest.Builder clear()
Returns
Overrides
clearAttestor()
public 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.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearAttestorId()
public CreateAttestorRequest.Builder clearAttestorId()
Required. The attestors ID.
string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateAttestorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateAttestorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateAttestorRequest.Builder clearParent()
Required. The parent of this attestor.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateAttestorRequest.Builder clone()
Returns
Overrides
getAttestor()
public 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.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getAttestorBuilder()
public 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.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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 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.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateAttestorRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the attestor field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAttestor(Attestor value)
public CreateAttestorRequest.Builder mergeAttestor(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.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateAttestorRequest other)
public CreateAttestorRequest.Builder mergeFrom(CreateAttestorRequest other)
Parameter
Returns
public CreateAttestorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateAttestorRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateAttestorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAttestor(Attestor value)
public CreateAttestorRequest.Builder setAttestor(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.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAttestor(Attestor.Builder builderForValue)
public CreateAttestorRequest.Builder setAttestor(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.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAttestorId(String value)
public CreateAttestorRequest.Builder setAttestorId(String value)
Required. The attestors ID.
string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The attestorId to set.
|
Returns
setAttestorIdBytes(ByteString value)
public CreateAttestorRequest.Builder setAttestorIdBytes(ByteString value)
Required. The attestors ID.
string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for attestorId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateAttestorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public 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 | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public 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 | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateAttestorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateAttestorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides