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