public static final class CreateOccurrenceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder> implements CreateOccurrenceRequestOrBuilder
Request to create a new occurrence.Protobuf type
grafeas.v1beta1.CreateOccurrenceRequest| Modifier and Type | Method and Description |
|---|---|
CreateOccurrenceRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateOccurrenceRequest |
build() |
CreateOccurrenceRequest |
buildPartial() |
CreateOccurrenceRequest.Builder |
clear() |
CreateOccurrenceRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateOccurrenceRequest.Builder |
clearOccurrence()
The occurrence to create.
|
CreateOccurrenceRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateOccurrenceRequest.Builder |
clearParent()
The name of the project in the form of `projects/[PROJECT_ID]`, under which
the occurrence is to be created.
|
CreateOccurrenceRequest.Builder |
clone() |
CreateOccurrenceRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Occurrence |
getOccurrence()
The occurrence to create.
|
Occurrence.Builder |
getOccurrenceBuilder()
The occurrence to create.
|
OccurrenceOrBuilder |
getOccurrenceOrBuilder()
The occurrence to create.
|
String |
getParent()
The name of the project in the form of `projects/[PROJECT_ID]`, under which
the occurrence is to be created.
|
com.google.protobuf.ByteString |
getParentBytes()
The name of the project in the form of `projects/[PROJECT_ID]`, under which
the occurrence is to be created.
|
boolean |
hasOccurrence()
The occurrence to create.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateOccurrenceRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateOccurrenceRequest.Builder |
mergeFrom(CreateOccurrenceRequest other) |
CreateOccurrenceRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateOccurrenceRequest.Builder |
mergeOccurrence(Occurrence value)
The occurrence to create.
|
CreateOccurrenceRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateOccurrenceRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateOccurrenceRequest.Builder |
setOccurrence(Occurrence.Builder builderForValue)
The occurrence to create.
|
CreateOccurrenceRequest.Builder |
setOccurrence(Occurrence value)
The occurrence to create.
|
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.
|
CreateOccurrenceRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
The name of the project in the form of `projects/[PROJECT_ID]`, under which
the occurrence is to be created.
|
CreateOccurrenceRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateOccurrenceRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateOccurrenceRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateOccurrenceRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateOccurrenceRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest.Builder mergeFrom(CreateOccurrenceRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public CreateOccurrenceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateOccurrenceRequest.Builder>IOExceptionpublic 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;getParent in interface CreateOccurrenceRequestOrBuilderpublic com.google.protobuf.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;getParentBytes in interface CreateOccurrenceRequestOrBuilderpublic 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;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;public CreateOccurrenceRequest.Builder setParentBytes(com.google.protobuf.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;public boolean hasOccurrence()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;hasOccurrence in interface CreateOccurrenceRequestOrBuilderpublic Occurrence getOccurrence()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;getOccurrence in interface CreateOccurrenceRequestOrBuilderpublic CreateOccurrenceRequest.Builder setOccurrence(Occurrence value)
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;public CreateOccurrenceRequest.Builder setOccurrence(Occurrence.Builder builderForValue)
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;public CreateOccurrenceRequest.Builder mergeOccurrence(Occurrence value)
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;public CreateOccurrenceRequest.Builder clearOccurrence()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;public Occurrence.Builder getOccurrenceBuilder()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;public OccurrenceOrBuilder getOccurrenceOrBuilder()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;getOccurrenceOrBuilder in interface CreateOccurrenceRequestOrBuilderpublic final CreateOccurrenceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>public final CreateOccurrenceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateOccurrenceRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.