Package io.grafeas.v1beta1
Class CreateOccurrenceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateOccurrenceRequest.Builder>
io.grafeas.v1beta1.CreateOccurrenceRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CreateOccurrenceRequestOrBuilder,Cloneable
- Enclosing class:
- CreateOccurrenceRequest
public static final class CreateOccurrenceRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CreateOccurrenceRequest.Builder>
implements CreateOccurrenceRequestOrBuilder
Request to create a new occurrence.Protobuf type
grafeas.v1beta1.CreateOccurrenceRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The occurrence to create.The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe occurrence to create.The occurrence to create.The occurrence to create.The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.com.google.protobuf.ByteStringThe name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.booleanThe occurrence to create.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CreateOccurrenceRequest other) mergeOccurrence(Occurrence value) The occurrence to create.setOccurrence(Occurrence value) The occurrence to create.setOccurrence(Occurrence.Builder builderForValue) The occurrence to create.The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CreateOccurrenceRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CreateOccurrenceRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CreateOccurrenceRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateOccurrenceRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateOccurrenceRequest.Builder>
-
mergeFrom
public CreateOccurrenceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateOccurrenceRequest.Builder>- Throws:
IOException
-
getParent
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.
string parent = 1;- Specified by:
getParentin interfaceCreateOccurrenceRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public 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;- Specified by:
getParentBytesin interfaceCreateOccurrenceRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.
string parent = 1;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.
string parent = 1;- Returns:
- This builder for chaining.
-
setParentBytes
The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.
string parent = 1;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
hasOccurrence
public boolean hasOccurrence()The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;- Specified by:
hasOccurrencein interfaceCreateOccurrenceRequestOrBuilder- Returns:
- Whether the occurrence field is set.
-
getOccurrence
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;- Specified by:
getOccurrencein interfaceCreateOccurrenceRequestOrBuilder- Returns:
- The occurrence.
-
setOccurrence
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2; -
setOccurrence
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2; -
mergeOccurrence
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2; -
clearOccurrence
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2; -
getOccurrenceBuilder
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2; -
getOccurrenceOrBuilder
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;- Specified by:
getOccurrenceOrBuilderin interfaceCreateOccurrenceRequestOrBuilder
-