public
final
class
CreateOccurrenceRequest
extends
GeneratedMessage
implements
CreateOccurrenceRequestOrBuilder
Request to create a new occurrence.
Protobuf type grafeas.v1.CreateOccurrenceRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CreateOccurrenceRequestImplements
CreateOccurrenceRequestOrBuilderStatic Fields
OCCURRENCE_FIELD_NUMBER
public
static
final
int
OCCURRENCE_FIELD_NUMBER
PARENT_FIELD_NUMBER
public
static
final
int
PARENT_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
CreateOccurrenceRequest
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
CreateOccurrenceRequest
.
Builder
newBuilder
()
newBuilder(CreateOccurrenceRequest prototype)
public
static
CreateOccurrenceRequest
.
Builder
newBuilder
(
CreateOccurrenceRequest
prototype
)
parseDelimitedFrom(InputStream input)
public
static
CreateOccurrenceRequest
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
CreateOccurrenceRequest
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
CreateOccurrenceRequest
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
CreateOccurrenceRequest
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
CreateOccurrenceRequest
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
CreateOccurrenceRequest
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
CreateOccurrenceRequest
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
CreateOccurrenceRequest
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
CreateOccurrenceRequest
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
CreateOccurrenceRequest
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
CreateOccurrenceRequest
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
CreateOccurrenceRequest
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<CreateOccurrenceRequest>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getDefaultInstanceForType()
public
CreateOccurrenceRequest
getDefaultInstanceForType
()
getOccurrence()
public
Occurrence
getOccurrence
()
The occurrence to create.
.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];
getOccurrenceOrBuilder()
public
OccurrenceOrBuilder
getOccurrenceOrBuilder
()
The occurrence to create.
.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParserForType()
public
Parser<CreateOccurrenceRequest>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
hasOccurrence()
public
boolean
hasOccurrence
()
The occurrence to create.
.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
CreateOccurrenceRequest
.
Builder
newBuilderForType
()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected
CreateOccurrenceRequest
.
Builder
newBuilderForType
(
AbstractMessage
.
BuilderParent
parent
)
toBuilder()
public
CreateOccurrenceRequest
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)

