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 class
DiagnosticConfig.Builder
Defines 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 int
COPY_HOME_FILES_FLAG_ENABLED_FIELD_NUMBER
static int
GCS_BUCKET_FIELD_NUMBER
static int
PACKET_CAPTURE_FLAG_ENABLED_FIELD_NUMBER
static int
RELATIVE_PATH_FIELD_NUMBER
static int
REPAIR_FLAG_ENABLED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getCopyHomeFilesFlagEnabled()
Optional.static DiagnosticConfig
getDefaultInstance()
DiagnosticConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getGcsBucket()
Required.com.google.protobuf.ByteString
getGcsBucketBytes()
Required.boolean
getPacketCaptureFlagEnabled()
Optional.com.google.protobuf.Parser<DiagnosticConfig>
getParserForType()
String
getRelativePath()
Optional.com.google.protobuf.ByteString
getRelativePathBytes()
Optional.boolean
getRepairFlagEnabled()
Optional.int
getSerializedSize()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DiagnosticConfig.Builder
newBuilder()
static DiagnosticConfig.Builder
newBuilder(DiagnosticConfig prototype)
DiagnosticConfig.Builder
newBuilderForType()
protected DiagnosticConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DiagnosticConfig
parseDelimitedFrom(InputStream input)
static DiagnosticConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiagnosticConfig
parseFrom(byte[] data)
static DiagnosticConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiagnosticConfig
parseFrom(com.google.protobuf.ByteString data)
static DiagnosticConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiagnosticConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static DiagnosticConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiagnosticConfig
parseFrom(InputStream input)
static DiagnosticConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiagnosticConfig
parseFrom(ByteBuffer data)
static DiagnosticConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DiagnosticConfig>
parser()
DiagnosticConfig.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getGcsBucket
in 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:
getGcsBucketBytes
in 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:
getRelativePath
in 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:
getRelativePathBytes
in 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:
getRepairFlagEnabled
in 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:
getPacketCaptureFlagEnabled
in 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:
getCopyHomeFilesFlagEnabled
in interfaceDiagnosticConfigOrBuilder
- Returns:
- The copyHomeFilesFlagEnabled.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiagnosticConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DiagnosticConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-