public static final class CreateOccurrenceRequest.Builder extends GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder> implements CreateOccurrenceRequestOrBuilder
Request to create a new occurrence.
Protobuf type grafeas.v1beta1.CreateOccurrenceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateOccurrenceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateOccurrenceRequest build()
buildPartial()
public CreateOccurrenceRequest buildPartial()
clear()
public CreateOccurrenceRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateOccurrenceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOccurrence()
public CreateOccurrenceRequest.Builder clearOccurrence()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateOccurrenceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateOccurrenceRequest.Builder clearParent()
The name of the project in the form of projects/[PROJECT_ID]
, under which
the occurrence is to be created.
string parent = 1;
clone()
public CreateOccurrenceRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateOccurrenceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOccurrence()
public Occurrence getOccurrence()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;
Returns |
Type |
Description |
Occurrence |
The occurrence.
|
getOccurrenceBuilder()
public Occurrence.Builder getOccurrenceBuilder()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;
getOccurrenceOrBuilder()
public OccurrenceOrBuilder getOccurrenceOrBuilder()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;
getParent()
public String getParent()
The name of the project in the form of projects/[PROJECT_ID]
, under which
the occurrence is to be created.
string parent = 1;
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
The name of the project in the form of projects/[PROJECT_ID]
, under which
the occurrence is to be created.
string parent = 1;
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasOccurrence()
public boolean hasOccurrence()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;
Returns |
Type |
Description |
boolean |
Whether the occurrence field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public CreateOccurrenceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateOccurrenceRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(CreateOccurrenceRequest other)
public CreateOccurrenceRequest.Builder mergeFrom(CreateOccurrenceRequest other)
mergeOccurrence(Occurrence value)
public CreateOccurrenceRequest.Builder mergeOccurrence(Occurrence value)
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateOccurrenceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateOccurrenceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOccurrence(Occurrence value)
public CreateOccurrenceRequest.Builder setOccurrence(Occurrence value)
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;
setOccurrence(Occurrence.Builder builderForValue)
public CreateOccurrenceRequest.Builder setOccurrence(Occurrence.Builder builderForValue)
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;
setParent(String value)
public CreateOccurrenceRequest.Builder setParent(String value)
The name of the project in the form of projects/[PROJECT_ID]
, under which
the occurrence is to be created.
string parent = 1;
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateOccurrenceRequest.Builder setParentBytes(ByteString value)
The name of the project in the form of projects/[PROJECT_ID]
, under which
the occurrence is to be created.
string parent = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateOccurrenceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateOccurrenceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides