- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
public static final class DiagnosticConfig.Builder extends GeneratedMessageV3.Builder<DiagnosticConfig.Builder> implements DiagnosticConfigOrBuilder
Defines flags that are used to run the diagnostic tool
Protobuf type google.cloud.notebooks.v2.DiagnosticConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiagnosticConfig.BuilderImplements
DiagnosticConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiagnosticConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
build()
public DiagnosticConfig build()
Returns | |
---|---|
Type | Description |
DiagnosticConfig |
buildPartial()
public DiagnosticConfig buildPartial()
Returns | |
---|---|
Type | Description |
DiagnosticConfig |
clear()
public DiagnosticConfig.Builder clear()
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
clearEnableCopyHomeFilesFlag()
public DiagnosticConfig.Builder clearEnableCopyHomeFilesFlag()
Optional. Enables flag to copy all /home/jupyter
folder contents
bool enable_copy_home_files_flag = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
clearEnablePacketCaptureFlag()
public DiagnosticConfig.Builder clearEnablePacketCaptureFlag()
Optional. Enables flag to capture packets from the instance for 30 seconds
bool enable_packet_capture_flag = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
clearEnableRepairFlag()
public DiagnosticConfig.Builder clearEnableRepairFlag()
Optional. Enables flag to repair service for instance
bool enable_repair_flag = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DiagnosticConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
clearGcsBucket()
public DiagnosticConfig.Builder clearGcsBucket()
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];
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiagnosticConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
clearRelativePath()
public DiagnosticConfig.Builder clearRelativePath()
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];
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
clone()
public DiagnosticConfig.Builder clone()
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
getDefaultInstanceForType()
public DiagnosticConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiagnosticConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnableCopyHomeFilesFlag()
public boolean getEnableCopyHomeFilesFlag()
Optional. Enables flag to copy all /home/jupyter
folder contents
bool enable_copy_home_files_flag = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The enableCopyHomeFilesFlag. |
getEnablePacketCaptureFlag()
public boolean getEnablePacketCaptureFlag()
Optional. Enables flag to capture packets from the instance for 30 seconds
bool enable_packet_capture_flag = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The enablePacketCaptureFlag. |
getEnableRepairFlag()
public boolean getEnableRepairFlag()
Optional. Enables flag to repair service for instance
bool enable_repair_flag = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The enableRepairFlag. |
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];
Returns | |
---|---|
Type | Description |
String |
The gcsBucket. |
getGcsBucketBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
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];
Returns | |
---|---|
Type | Description |
String |
The relativePath. |
getRelativePathBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for relativePath. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DiagnosticConfig other)
public DiagnosticConfig.Builder mergeFrom(DiagnosticConfig other)
Parameter | |
---|---|
Name | Description |
other |
DiagnosticConfig |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiagnosticConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DiagnosticConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiagnosticConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
setEnableCopyHomeFilesFlag(boolean value)
public DiagnosticConfig.Builder setEnableCopyHomeFilesFlag(boolean value)
Optional. Enables flag to copy all /home/jupyter
folder contents
bool enable_copy_home_files_flag = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The enableCopyHomeFilesFlag to set. |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
setEnablePacketCaptureFlag(boolean value)
public DiagnosticConfig.Builder setEnablePacketCaptureFlag(boolean value)
Optional. Enables flag to capture packets from the instance for 30 seconds
bool enable_packet_capture_flag = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The enablePacketCaptureFlag to set. |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
setEnableRepairFlag(boolean value)
public DiagnosticConfig.Builder setEnableRepairFlag(boolean value)
Optional. Enables flag to repair service for instance
bool enable_repair_flag = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The enableRepairFlag to set. |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DiagnosticConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
setGcsBucket(String value)
public DiagnosticConfig.Builder setGcsBucket(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The gcsBucket to set. |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
setGcsBucketBytes(ByteString value)
public DiagnosticConfig.Builder setGcsBucketBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for gcsBucket to set. |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
setRelativePath(String value)
public DiagnosticConfig.Builder setRelativePath(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The relativePath to set. |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
setRelativePathBytes(ByteString value)
public DiagnosticConfig.Builder setRelativePathBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for relativePath to set. |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiagnosticConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiagnosticConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiagnosticConfig.Builder |