Package com.google.cloud.notebooks.v1
Class DiagnosticConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.notebooks.v1.DiagnosticConfig
-
- All Implemented Interfaces:
DiagnosticConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DiagnosticConfig extends com.google.protobuf.GeneratedMessageV3 implements DiagnosticConfigOrBuilder
Defines flags that are used to run the diagnostic tool
Protobuf typegoogle.cloud.notebooks.v1.DiagnosticConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiagnosticConfig.BuilderDefines flags that are used to run the diagnostic tool-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOPY_HOME_FILES_FLAG_ENABLED_FIELD_NUMBERstatic intGCS_BUCKET_FIELD_NUMBERstatic intPACKET_CAPTURE_FLAG_ENABLED_FIELD_NUMBERstatic intRELATIVE_PATH_FIELD_NUMBERstatic intREPAIR_FLAG_ENABLED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetCopyHomeFilesFlagEnabled()Optional.static DiagnosticConfiggetDefaultInstance()DiagnosticConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetGcsBucket()Required.com.google.protobuf.ByteStringgetGcsBucketBytes()Required.booleangetPacketCaptureFlagEnabled()Optional.com.google.protobuf.Parser<DiagnosticConfig>getParserForType()StringgetRelativePath()Optional.com.google.protobuf.ByteStringgetRelativePathBytes()Optional.booleangetRepairFlagEnabled()Optional.intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DiagnosticConfig.BuildernewBuilder()static DiagnosticConfig.BuildernewBuilder(DiagnosticConfig prototype)DiagnosticConfig.BuildernewBuilderForType()protected DiagnosticConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DiagnosticConfigparseDelimitedFrom(InputStream input)static DiagnosticConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiagnosticConfigparseFrom(byte[] data)static DiagnosticConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiagnosticConfigparseFrom(com.google.protobuf.ByteString data)static DiagnosticConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiagnosticConfigparseFrom(com.google.protobuf.CodedInputStream input)static DiagnosticConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiagnosticConfigparseFrom(InputStream input)static DiagnosticConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiagnosticConfigparseFrom(ByteBuffer data)static DiagnosticConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DiagnosticConfig>parser()DiagnosticConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
GCS_BUCKET_FIELD_NUMBER
public static final int GCS_BUCKET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATIVE_PATH_FIELD_NUMBER
public static final int RELATIVE_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPAIR_FLAG_ENABLED_FIELD_NUMBER
public static final int REPAIR_FLAG_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PACKET_CAPTURE_FLAG_ENABLED_FIELD_NUMBER
public static final int PACKET_CAPTURE_FLAG_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COPY_HOME_FILES_FLAG_ENABLED_FIELD_NUMBER
public static final int COPY_HOME_FILES_FLAG_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getGcsBucket
public String getGcsBucket()
Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`). Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`
string gcs_bucket = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getGcsBucketin interfaceDiagnosticConfigOrBuilder- Returns:
- The gcsBucket.
-
getGcsBucketBytes
public com.google.protobuf.ByteString getGcsBucketBytes()
Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`). Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`
string gcs_bucket = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getGcsBucketBytesin interfaceDiagnosticConfigOrBuilder- Returns:
- The bytes for gcsBucket.
-
getRelativePath
public String getRelativePath()
Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) Example of full path where Log file will be written: `gs://$GCS_BUCKET/$RELATIVE_PATH/`
string relative_path = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRelativePathin interfaceDiagnosticConfigOrBuilder- Returns:
- The relativePath.
-
getRelativePathBytes
public com.google.protobuf.ByteString getRelativePathBytes()
Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) Example of full path where Log file will be written: `gs://$GCS_BUCKET/$RELATIVE_PATH/`
string relative_path = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRelativePathBytesin interfaceDiagnosticConfigOrBuilder- Returns:
- The bytes for relativePath.
-
getRepairFlagEnabled
public boolean getRepairFlagEnabled()
Optional. Enables flag to repair service for instance
bool repair_flag_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRepairFlagEnabledin interfaceDiagnosticConfigOrBuilder- Returns:
- The repairFlagEnabled.
-
getPacketCaptureFlagEnabled
public boolean getPacketCaptureFlagEnabled()
Optional. Enables flag to capture packets from the instance for 30 seconds
bool packet_capture_flag_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPacketCaptureFlagEnabledin interfaceDiagnosticConfigOrBuilder- Returns:
- The packetCaptureFlagEnabled.
-
getCopyHomeFilesFlagEnabled
public boolean getCopyHomeFilesFlagEnabled()
Optional. Enables flag to copy all `/home/jupyter` folder contents
bool copy_home_files_flag_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCopyHomeFilesFlagEnabledin interfaceDiagnosticConfigOrBuilder- Returns:
- The copyHomeFilesFlagEnabled.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DiagnosticConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiagnosticConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiagnosticConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiagnosticConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiagnosticConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiagnosticConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiagnosticConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DiagnosticConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DiagnosticConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DiagnosticConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DiagnosticConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DiagnosticConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DiagnosticConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DiagnosticConfig.Builder newBuilder()
-
newBuilder
public static DiagnosticConfig.Builder newBuilder(DiagnosticConfig prototype)
-
toBuilder
public DiagnosticConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiagnosticConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DiagnosticConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DiagnosticConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<DiagnosticConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DiagnosticConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-