Class DeleteOccurrenceRequest.Builder (2.4.5)

public static final class DeleteOccurrenceRequest.Builder extends GeneratedMessageV3.Builder<DeleteOccurrenceRequest.Builder> implements DeleteOccurrenceRequestOrBuilder

Request to delete an occurrence.

Protobuf type grafeas.v1.DeleteOccurrenceRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteOccurrenceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides

build()

public DeleteOccurrenceRequest build()
Returns
TypeDescription
DeleteOccurrenceRequest

buildPartial()

public DeleteOccurrenceRequest buildPartial()
Returns
TypeDescription
DeleteOccurrenceRequest

clear()

public DeleteOccurrenceRequest.Builder clear()
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteOccurrenceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides

clearName()

public DeleteOccurrenceRequest.Builder clearName()

The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteOccurrenceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteOccurrenceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides

clone()

public DeleteOccurrenceRequest.Builder clone()
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteOccurrenceRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteOccurrenceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteOccurrenceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteOccurrenceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides

mergeFrom(DeleteOccurrenceRequest other)

public DeleteOccurrenceRequest.Builder mergeFrom(DeleteOccurrenceRequest other)
Parameter
NameDescription
otherDeleteOccurrenceRequest
Returns
TypeDescription
DeleteOccurrenceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteOccurrenceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteOccurrenceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides

setName(String value)

public DeleteOccurrenceRequest.Builder setName(String value)

The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteOccurrenceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteOccurrenceRequest.Builder setNameBytes(ByteString value)

The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteOccurrenceRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteOccurrenceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteOccurrenceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteOccurrenceRequest.Builder
Overrides