Class SetAgentOpsObservabilityRequest (0.27.0)

public final class SetAgentOpsObservabilityRequest extends GeneratedMessage implements SetAgentOpsObservabilityRequestOrBuilder

Request for SetAgentOpsObservability.

Protobuf type google.cloud.geminidataanalytics.v1beta.SetAgentOpsObservabilityRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SetAgentOpsObservabilityRequest

Static Fields

BQAA_ENABLED_FIELD_NUMBER

public static final int BQAA_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

DATA_SOURCE_TYPE_FIELD_NUMBER

public static final int DATA_SOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

TELEMETRY_ENABLED_FIELD_NUMBER

public static final int TELEMETRY_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SetAgentOpsObservabilityRequest getDefaultInstance()
Returns
Type Description
SetAgentOpsObservabilityRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SetAgentOpsObservabilityRequest.Builder newBuilder()
Returns
Type Description
SetAgentOpsObservabilityRequest.Builder

newBuilder(SetAgentOpsObservabilityRequest prototype)

public static SetAgentOpsObservabilityRequest.Builder newBuilder(SetAgentOpsObservabilityRequest prototype)
Parameter
Name Description
prototype SetAgentOpsObservabilityRequest
Returns
Type Description
SetAgentOpsObservabilityRequest.Builder

parseDelimitedFrom(InputStream input)

public static SetAgentOpsObservabilityRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetAgentOpsObservabilityRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SetAgentOpsObservabilityRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SetAgentOpsObservabilityRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SetAgentOpsObservabilityRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SetAgentOpsObservabilityRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SetAgentOpsObservabilityRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SetAgentOpsObservabilityRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SetAgentOpsObservabilityRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetAgentOpsObservabilityRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SetAgentOpsObservabilityRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SetAgentOpsObservabilityRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SetAgentOpsObservabilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SetAgentOpsObservabilityRequest> parser()
Returns
Type Description
Parser<SetAgentOpsObservabilityRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBqaaEnabled()

public boolean getBqaaEnabled()

Optional. Whether BigQuery Agent Analytics is enabled. Note: An explicit update_mask containing "bqaa_enabled" is required to modify this field. If update_mask is omitted, this field is ignored and an existing enabled setting cannot be disabled.

This is a project-level setting and does not by itself enable trace logging for any individual agent. Per-agent trace logging is controlled by DataAgent.bigquery_agent_analytics_enabled together with DataAgent.bigquery_agent_analytics_table; an agent does not inherit this setting.

bool bqaa_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The bqaaEnabled.

getDataSourceType()

public String getDataSourceType()

Required. The data source type for which to set observability settings. Examples: "bigquery", "looker"

string data_source_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dataSourceType.

getDataSourceTypeBytes()

public ByteString getDataSourceTypeBytes()

Required. The data source type for which to set observability settings. Examples: "bigquery", "looker"

string data_source_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dataSourceType.

getDefaultInstanceForType()

public SetAgentOpsObservabilityRequest getDefaultInstanceForType()
Returns
Type Description
SetAgentOpsObservabilityRequest

getParent()

public String getParent()

Required. Parent value for SetAgentOpsObservabilityRequest. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent value for SetAgentOpsObservabilityRequest. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<SetAgentOpsObservabilityRequest> getParserForType()
Returns
Type Description
Parser<SetAgentOpsObservabilityRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTelemetryEnabled()

public boolean getTelemetryEnabled()

Optional. Whether to enable or disable AgentOps observability. When update_mask is provided, this field is ignored unless specified in the mask.

bool telemetry_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The telemetryEnabled.

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten by the update. The fields specified in the update_mask are relative to the resource. A field will be overwritten if it is in the mask.

If the user does not provide a mask, only telemetry_enabled will be updated (for backward compatibility with legacy callers). Note that disabling BigQuery Agent Analytics (bqaa_enabled = false) requires providing an explicit update_mask containing "bqaa_enabled".

Per AIP-161:

  • The special wildcard value '*' is supported to update all fields.
  • Field paths should use snake_case, though camelCase equivalents (telemetryEnabled, bqaaEnabled) are accepted for REST/JSON transcoding compatibility.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Field mask is used to specify the fields to be overwritten by the update. The fields specified in the update_mask are relative to the resource. A field will be overwritten if it is in the mask.

If the user does not provide a mask, only telemetry_enabled will be updated (for backward compatibility with legacy callers). Note that disabling BigQuery Agent Analytics (bqaa_enabled = false) requires providing an explicit update_mask containing "bqaa_enabled".

Per AIP-161:

  • The special wildcard value '*' is supported to update all fields.
  • Field paths should use snake_case, though camelCase equivalents (telemetryEnabled, bqaaEnabled) are accepted for REST/JSON transcoding compatibility.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten by the update. The fields specified in the update_mask are relative to the resource. A field will be overwritten if it is in the mask.

If the user does not provide a mask, only telemetry_enabled will be updated (for backward compatibility with legacy callers). Note that disabling BigQuery Agent Analytics (bqaa_enabled = false) requires providing an explicit update_mask containing "bqaa_enabled".

Per AIP-161:

  • The special wildcard value '*' is supported to update all fields.
  • Field paths should use snake_case, though camelCase equivalents (telemetryEnabled, bqaaEnabled) are accepted for REST/JSON transcoding compatibility.

.google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SetAgentOpsObservabilityRequest.Builder newBuilderForType()
Returns
Type Description
SetAgentOpsObservabilityRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SetAgentOpsObservabilityRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SetAgentOpsObservabilityRequest.Builder
Overrides

toBuilder()

public SetAgentOpsObservabilityRequest.Builder toBuilder()
Returns
Type Description
SetAgentOpsObservabilityRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException