- 1.77.0 (latest)
 - 1.75.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.71.0
 - 1.69.0
 - 1.67.0
 - 1.66.0
 - 1.63.0
 - 1.62.0
 - 1.61.0
 - 1.59.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 1.51.0
 - 1.50.0
 - 1.48.0
 - 1.47.0
 - 1.46.0
 - 1.45.0
 - 1.44.0
 - 1.43.0
 - 1.42.0
 - 1.41.0
 - 1.40.0
 - 1.39.0
 - 1.38.0
 - 1.36.0
 - 1.35.0
 - 1.34.0
 - 1.33.0
 - 1.32.0
 - 1.31.0
 - 1.30.0
 - 1.29.0
 - 1.28.0
 - 1.27.0
 - 1.26.0
 - 1.23.0
 - 1.22.0
 - 1.21.0
 - 1.20.0
 - 1.19.0
 - 1.18.0
 - 1.17.0
 - 1.16.0
 - 1.15.0
 - 1.14.0
 - 1.13.0
 - 1.12.0
 - 1.11.0
 - 1.10.0
 - 1.9.0
 - 1.8.0
 - 1.7.0
 - 1.6.0
 - 1.5.0
 - 1.4.0
 - 1.3.0
 - 1.0.6
 
public static final class Resources.Attestor.Builder extends GeneratedMessageV3.Builder<Resources.Attestor.Builder> implements Resources.AttestorOrBuilderAn attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.
 Protobuf type google.cloud.binaryauthorization.v1.Attestor
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Resources.Attestor.BuilderImplements
Resources.AttestorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Resources.Attestor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
build()
public Resources.Attestor build()| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor | 
        |
buildPartial()
public Resources.Attestor buildPartial()| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor | 
        |
clear()
public Resources.Attestor.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
clearAttestorType()
public Resources.Attestor.Builder clearAttestorType()| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
clearDescription()
public Resources.Attestor.Builder clearDescription()Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Resources.Attestor.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
clearName()
public Resources.Attestor.Builder clearName() Required. The resource name, in the format:
 projects/*/attestors/*. This field may not be updated.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Resources.Attestor.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
clearUpdateTime()
public Resources.Attestor.Builder clearUpdateTime()Output only. Time when the attestor was last updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
clearUserOwnedGrafeasNote()
public Resources.Attestor.Builder clearUserOwnedGrafeasNote()This specifies how an attestation will be read, and how it will be used during policy enforcement.
 
 .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3;
 
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
clone()
public Resources.Attestor.Builder clone()| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
getAttestorTypeCase()
public Resources.Attestor.AttestorTypeCase getAttestorTypeCase()| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.AttestorTypeCase | 
        |
getDefaultInstanceForType()
public Resources.Attestor getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor | 
        |
getDescription()
public String getDescription()Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The description.  | 
      
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getName()
public String getName() Required. The resource name, in the format:
 projects/*/attestors/*. This field may not be updated.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes() Required. The resource name, in the format:
 projects/*/attestors/*. This field may not be updated.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()Output only. Time when the attestor was last updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The updateTime.  | 
      
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Time when the attestor was last updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when the attestor was last updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getUserOwnedGrafeasNote()
public Resources.UserOwnedGrafeasNote getUserOwnedGrafeasNote()This specifies how an attestation will be read, and how it will be used during policy enforcement.
 
 .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3;
 
| Returns | |
|---|---|
| Type | Description | 
Resources.UserOwnedGrafeasNote | 
        The userOwnedGrafeasNote.  | 
      
getUserOwnedGrafeasNoteBuilder()
public Resources.UserOwnedGrafeasNote.Builder getUserOwnedGrafeasNoteBuilder()This specifies how an attestation will be read, and how it will be used during policy enforcement.
 
 .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3;
 
| Returns | |
|---|---|
| Type | Description | 
Resources.UserOwnedGrafeasNote.Builder | 
        |
getUserOwnedGrafeasNoteOrBuilder()
public Resources.UserOwnedGrafeasNoteOrBuilder getUserOwnedGrafeasNoteOrBuilder()This specifies how an attestation will be read, and how it will be used during policy enforcement.
 
 .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3;
 
| Returns | |
|---|---|
| Type | Description | 
Resources.UserOwnedGrafeasNoteOrBuilder | 
        |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Time when the attestor was last updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the updateTime field is set.  | 
      
hasUserOwnedGrafeasNote()
public boolean hasUserOwnedGrafeasNote()This specifies how an attestation will be read, and how it will be used during policy enforcement.
 
 .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3;
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the userOwnedGrafeasNote field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Resources.Attestor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Resources.Attestor.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
mergeFrom(Resources.Attestor other)
public Resources.Attestor.Builder mergeFrom(Resources.Attestor other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Resources.Attestor | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Attestor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
mergeUpdateTime(Timestamp value)
public Resources.Attestor.Builder mergeUpdateTime(Timestamp value)Output only. Time when the attestor was last updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
mergeUserOwnedGrafeasNote(Resources.UserOwnedGrafeasNote value)
public Resources.Attestor.Builder mergeUserOwnedGrafeasNote(Resources.UserOwnedGrafeasNote value)This specifies how an attestation will be read, and how it will be used during policy enforcement.
 
 .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Resources.UserOwnedGrafeasNote | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
setDescription(String value)
public Resources.Attestor.Builder setDescription(String value)Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        This builder for chaining.  | 
      
setDescriptionBytes(ByteString value)
public Resources.Attestor.Builder setDescriptionBytes(ByteString value)Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.
 string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Resources.Attestor.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
setName(String value)
public Resources.Attestor.Builder setName(String value) Required. The resource name, in the format:
 projects/*/attestors/*. This field may not be updated.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Resources.Attestor.Builder setNameBytes(ByteString value) Required. The resource name, in the format:
 projects/*/attestors/*. This field may not be updated.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Resources.Attestor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Attestor.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
setUpdateTime(Timestamp value)
public Resources.Attestor.Builder setUpdateTime(Timestamp value)Output only. Time when the attestor was last updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
setUpdateTime(Timestamp.Builder builderForValue)
public Resources.Attestor.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Time when the attestor was last updated.
 
 .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
setUserOwnedGrafeasNote(Resources.UserOwnedGrafeasNote value)
public Resources.Attestor.Builder setUserOwnedGrafeasNote(Resources.UserOwnedGrafeasNote value)This specifies how an attestation will be read, and how it will be used during policy enforcement.
 
 .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Resources.UserOwnedGrafeasNote | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |
setUserOwnedGrafeasNote(Resources.UserOwnedGrafeasNote.Builder builderForValue)
public Resources.Attestor.Builder setUserOwnedGrafeasNote(Resources.UserOwnedGrafeasNote.Builder builderForValue)This specifies how an attestation will be read, and how it will be used during policy enforcement.
 
 .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Resources.UserOwnedGrafeasNote.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Resources.Attestor.Builder | 
        |