Interface LogsPolicyOrBuilder (0.41.0)

public interface LogsPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudLoggingOption()

public abstract LogsPolicy.CloudLoggingOption getCloudLoggingOption()

Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.

.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LogsPolicy.CloudLoggingOption

The cloudLoggingOption.

getCloudLoggingOptionOrBuilder()

public abstract LogsPolicy.CloudLoggingOptionOrBuilder getCloudLoggingOptionOrBuilder()

Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.

.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LogsPolicy.CloudLoggingOptionOrBuilder

getDestination()

public abstract LogsPolicy.Destination getDestination()

Where logs should be saved.

.google.cloud.batch.v1alpha.LogsPolicy.Destination destination = 1;

Returns
TypeDescription
LogsPolicy.Destination

The destination.

getDestinationValue()

public abstract int getDestinationValue()

Where logs should be saved.

.google.cloud.batch.v1alpha.LogsPolicy.Destination destination = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for destination.

getLogsPath()

public abstract String getLogsPath()

The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.

string logs_path = 2;

Returns
TypeDescription
String

The logsPath.

getLogsPathBytes()

public abstract ByteString getLogsPathBytes()

The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.

string logs_path = 2;

Returns
TypeDescription
ByteString

The bytes for logsPath.

hasCloudLoggingOption()

public abstract boolean hasCloudLoggingOption()

Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.

.google.cloud.batch.v1alpha.LogsPolicy.CloudLoggingOption cloud_logging_option = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the cloudLoggingOption field is set.