public static final class UpdateOccurrenceRequest.Builder extends GeneratedMessageV3.Builder<UpdateOccurrenceRequest.Builder> implements UpdateOccurrenceRequestOrBuilder
Request to update an occurrence.
Protobuf type grafeas.v1beta1.UpdateOccurrenceRequest
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 UpdateOccurrenceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateOccurrenceRequest build()
Returns
buildPartial()
public UpdateOccurrenceRequest buildPartial()
Returns
clear()
public UpdateOccurrenceRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateOccurrenceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public UpdateOccurrenceRequest.Builder clearName()
The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
Returns
clearOccurrence()
public UpdateOccurrenceRequest.Builder clearOccurrence()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateOccurrenceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateOccurrenceRequest.Builder clearUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Returns
clone()
public UpdateOccurrenceRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateOccurrenceRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
Returns
Type | Description |
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;
Returns
getOccurrence()
public Occurrence getOccurrence()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Returns
getOccurrenceBuilder()
public Occurrence.Builder getOccurrenceBuilder()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Returns
getOccurrenceOrBuilder()
public OccurrenceOrBuilder getOccurrenceOrBuilder()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Returns
getUpdateMask()
public FieldMask getUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Returns
hasOccurrence()
public boolean hasOccurrence()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Returns
Type | Description |
boolean | Whether the occurrence field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public UpdateOccurrenceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateOccurrenceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(UpdateOccurrenceRequest other)
public UpdateOccurrenceRequest.Builder mergeFrom(UpdateOccurrenceRequest other)
Parameter
Returns
mergeOccurrence(Occurrence value)
public UpdateOccurrenceRequest.Builder mergeOccurrence(Occurrence value)
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOccurrenceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateOccurrenceRequest.Builder mergeUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateOccurrenceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public UpdateOccurrenceRequest.Builder setName(String value)
The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public UpdateOccurrenceRequest.Builder setNameBytes(ByteString value)
The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setOccurrence(Occurrence value)
public UpdateOccurrenceRequest.Builder setOccurrence(Occurrence value)
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Parameter
Returns
setOccurrence(Occurrence.Builder builderForValue)
public UpdateOccurrenceRequest.Builder setOccurrence(Occurrence.Builder builderForValue)
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateOccurrenceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOccurrenceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateOccurrenceRequest.Builder setUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateOccurrenceRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns