public static final class Notebook.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Notebook.Builder> implements NotebookOrBuilder
Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding.Protobuf type
google.cloud.securitycenter.v1.Notebook| Modifier and Type | Method and Description |
|---|---|
Notebook.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Notebook |
build() |
Notebook |
buildPartial() |
Notebook.Builder |
clear() |
Notebook.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Notebook.Builder |
clearLastAuthor()
The user ID of the latest author to modify the notebook.
|
Notebook.Builder |
clearName()
The name of the notebook.
|
Notebook.Builder |
clearNotebookUpdateTime()
The most recent time the notebook was updated.
|
Notebook.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Notebook.Builder |
clearService()
The source notebook service, for example, "Colab Enterprise".
|
Notebook.Builder |
clone() |
Notebook |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLastAuthor()
The user ID of the latest author to modify the notebook.
|
com.google.protobuf.ByteString |
getLastAuthorBytes()
The user ID of the latest author to modify the notebook.
|
String |
getName()
The name of the notebook.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the notebook.
|
com.google.protobuf.Timestamp |
getNotebookUpdateTime()
The most recent time the notebook was updated.
|
com.google.protobuf.Timestamp.Builder |
getNotebookUpdateTimeBuilder()
The most recent time the notebook was updated.
|
com.google.protobuf.TimestampOrBuilder |
getNotebookUpdateTimeOrBuilder()
The most recent time the notebook was updated.
|
String |
getService()
The source notebook service, for example, "Colab Enterprise".
|
com.google.protobuf.ByteString |
getServiceBytes()
The source notebook service, for example, "Colab Enterprise".
|
boolean |
hasNotebookUpdateTime()
The most recent time the notebook was updated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Notebook.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Notebook.Builder |
mergeFrom(com.google.protobuf.Message other) |
Notebook.Builder |
mergeFrom(Notebook other) |
Notebook.Builder |
mergeNotebookUpdateTime(com.google.protobuf.Timestamp value)
The most recent time the notebook was updated.
|
Notebook.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Notebook.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Notebook.Builder |
setLastAuthor(String value)
The user ID of the latest author to modify the notebook.
|
Notebook.Builder |
setLastAuthorBytes(com.google.protobuf.ByteString value)
The user ID of the latest author to modify the notebook.
|
Notebook.Builder |
setName(String value)
The name of the notebook.
|
Notebook.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the notebook.
|
Notebook.Builder |
setNotebookUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The most recent time the notebook was updated.
|
Notebook.Builder |
setNotebookUpdateTime(com.google.protobuf.Timestamp value)
The most recent time the notebook was updated.
|
Notebook.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Notebook.Builder |
setService(String value)
The source notebook service, for example, "Colab Enterprise".
|
Notebook.Builder |
setServiceBytes(com.google.protobuf.ByteString value)
The source notebook service, for example, "Colab Enterprise".
|
Notebook.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<Notebook.Builder>public Notebook.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Notebook.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<Notebook.Builder>public Notebook getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Notebook build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Notebook buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Notebook.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Notebook.Builder>public Notebook.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<Notebook.Builder>public Notebook.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Notebook.Builder>public Notebook.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Notebook.Builder>public Notebook.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<Notebook.Builder>public Notebook.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<Notebook.Builder>public Notebook.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Notebook.Builder>public Notebook.Builder mergeFrom(Notebook other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Notebook.Builder>public Notebook.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<Notebook.Builder>IOExceptionpublic String getName()
The name of the notebook.
string name = 1;getName in interface NotebookOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the notebook.
string name = 1;getNameBytes in interface NotebookOrBuilderpublic Notebook.Builder setName(String value)
The name of the notebook.
string name = 1;value - The name to set.public Notebook.Builder clearName()
The name of the notebook.
string name = 1;public Notebook.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the notebook.
string name = 1;value - The bytes for name to set.public String getService()
The source notebook service, for example, "Colab Enterprise".
string service = 2;getService in interface NotebookOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
The source notebook service, for example, "Colab Enterprise".
string service = 2;getServiceBytes in interface NotebookOrBuilderpublic Notebook.Builder setService(String value)
The source notebook service, for example, "Colab Enterprise".
string service = 2;value - The service to set.public Notebook.Builder clearService()
The source notebook service, for example, "Colab Enterprise".
string service = 2;public Notebook.Builder setServiceBytes(com.google.protobuf.ByteString value)
The source notebook service, for example, "Colab Enterprise".
string service = 2;value - The bytes for service to set.public String getLastAuthor()
The user ID of the latest author to modify the notebook.
string last_author = 3;getLastAuthor in interface NotebookOrBuilderpublic com.google.protobuf.ByteString getLastAuthorBytes()
The user ID of the latest author to modify the notebook.
string last_author = 3;getLastAuthorBytes in interface NotebookOrBuilderpublic Notebook.Builder setLastAuthor(String value)
The user ID of the latest author to modify the notebook.
string last_author = 3;value - The lastAuthor to set.public Notebook.Builder clearLastAuthor()
The user ID of the latest author to modify the notebook.
string last_author = 3;public Notebook.Builder setLastAuthorBytes(com.google.protobuf.ByteString value)
The user ID of the latest author to modify the notebook.
string last_author = 3;value - The bytes for lastAuthor to set.public boolean hasNotebookUpdateTime()
The most recent time the notebook was updated.
.google.protobuf.Timestamp notebook_update_time = 4;hasNotebookUpdateTime in interface NotebookOrBuilderpublic com.google.protobuf.Timestamp getNotebookUpdateTime()
The most recent time the notebook was updated.
.google.protobuf.Timestamp notebook_update_time = 4;getNotebookUpdateTime in interface NotebookOrBuilderpublic Notebook.Builder setNotebookUpdateTime(com.google.protobuf.Timestamp value)
The most recent time the notebook was updated.
.google.protobuf.Timestamp notebook_update_time = 4;public Notebook.Builder setNotebookUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The most recent time the notebook was updated.
.google.protobuf.Timestamp notebook_update_time = 4;public Notebook.Builder mergeNotebookUpdateTime(com.google.protobuf.Timestamp value)
The most recent time the notebook was updated.
.google.protobuf.Timestamp notebook_update_time = 4;public Notebook.Builder clearNotebookUpdateTime()
The most recent time the notebook was updated.
.google.protobuf.Timestamp notebook_update_time = 4;public com.google.protobuf.Timestamp.Builder getNotebookUpdateTimeBuilder()
The most recent time the notebook was updated.
.google.protobuf.Timestamp notebook_update_time = 4;public com.google.protobuf.TimestampOrBuilder getNotebookUpdateTimeOrBuilder()
The most recent time the notebook was updated.
.google.protobuf.Timestamp notebook_update_time = 4;getNotebookUpdateTimeOrBuilder in interface NotebookOrBuilderpublic final Notebook.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Notebook.Builder>public final Notebook.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Notebook.Builder>Copyright © 2024 Google LLC. All rights reserved.