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