- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
public static final class UpdateOccurrenceRequest.Builder extends GeneratedMessageV3.Builder<UpdateOccurrenceRequest.Builder> implements UpdateOccurrenceRequestOrBuilder
Request to update an occurrence.
Protobuf type grafeas.v1beta1.UpdateOccurrenceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateOccurrenceRequest.BuilderImplements
UpdateOccurrenceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateOccurrenceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateOccurrenceRequest.Builder |
build()
public UpdateOccurrenceRequest build()
Type | Description |
UpdateOccurrenceRequest |
buildPartial()
public UpdateOccurrenceRequest buildPartial()
Type | Description |
UpdateOccurrenceRequest |
clear()
public UpdateOccurrenceRequest.Builder clear()
Type | Description |
UpdateOccurrenceRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateOccurrenceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UpdateOccurrenceRequest.Builder |
clearName()
public UpdateOccurrenceRequest.Builder clearName()
The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
Type | Description |
UpdateOccurrenceRequest.Builder | This builder for chaining. |
clearOccurrence()
public UpdateOccurrenceRequest.Builder clearOccurrence()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Type | Description |
UpdateOccurrenceRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateOccurrenceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UpdateOccurrenceRequest.Builder |
clearUpdateMask()
public UpdateOccurrenceRequest.Builder clearUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Type | Description |
UpdateOccurrenceRequest.Builder |
clone()
public UpdateOccurrenceRequest.Builder clone()
Type | Description |
UpdateOccurrenceRequest.Builder |
getDefaultInstanceForType()
public UpdateOccurrenceRequest getDefaultInstanceForType()
Type | Description |
UpdateOccurrenceRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
string name = 1;
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;
Type | Description |
ByteString | The bytes for name. |
getOccurrence()
public Occurrence getOccurrence()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Type | Description |
Occurrence | The occurrence. |
getOccurrenceBuilder()
public Occurrence.Builder getOccurrenceBuilder()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Type | Description |
Occurrence.Builder |
getOccurrenceOrBuilder()
public OccurrenceOrBuilder getOccurrenceOrBuilder()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Type | Description |
OccurrenceOrBuilder |
getUpdateMask()
public FieldMask getUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Type | Description |
FieldMaskOrBuilder |
hasOccurrence()
public boolean hasOccurrence()
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Type | Description |
boolean | Whether the occurrence field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateOccurrenceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateOccurrenceRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateOccurrenceRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UpdateOccurrenceRequest.Builder |
mergeFrom(UpdateOccurrenceRequest other)
public UpdateOccurrenceRequest.Builder mergeFrom(UpdateOccurrenceRequest other)
Name | Description |
other | UpdateOccurrenceRequest |
Type | Description |
UpdateOccurrenceRequest.Builder |
mergeOccurrence(Occurrence value)
public UpdateOccurrenceRequest.Builder mergeOccurrence(Occurrence value)
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Name | Description |
value | Occurrence |
Type | Description |
UpdateOccurrenceRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOccurrenceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateOccurrenceRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpdateOccurrenceRequest.Builder mergeUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Name | Description |
value | FieldMask |
Type | Description |
UpdateOccurrenceRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateOccurrenceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateOccurrenceRequest.Builder |
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;
Name | Description |
value | String The name to set. |
Type | Description |
UpdateOccurrenceRequest.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
UpdateOccurrenceRequest.Builder | This builder for chaining. |
setOccurrence(Occurrence value)
public UpdateOccurrenceRequest.Builder setOccurrence(Occurrence value)
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Name | Description |
value | Occurrence |
Type | Description |
UpdateOccurrenceRequest.Builder |
setOccurrence(Occurrence.Builder builderForValue)
public UpdateOccurrenceRequest.Builder setOccurrence(Occurrence.Builder builderForValue)
The updated occurrence.
.grafeas.v1beta1.Occurrence occurrence = 2;
Name | Description |
builderForValue | Occurrence.Builder |
Type | Description |
UpdateOccurrenceRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateOccurrenceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UpdateOccurrenceRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOccurrenceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateOccurrenceRequest.Builder |
setUpdateMask(FieldMask value)
public UpdateOccurrenceRequest.Builder setUpdateMask(FieldMask value)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Name | Description |
value | FieldMask |
Type | Description |
UpdateOccurrenceRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateOccurrenceRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The fields to update.
.google.protobuf.FieldMask update_mask = 3;
Name | Description |
builderForValue | Builder |
Type | Description |
UpdateOccurrenceRequest.Builder |