public interface CreateTraceScopeRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getParent()
public abstract String getParent()Required. The full resource name of the location where the trace scope should be created
projects/[PROJECT_ID]/locations/[LOCATION_ID]
For example:
projects/my-project/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()Required. The full resource name of the location where the trace scope should be created
projects/[PROJECT_ID]/locations/[LOCATION_ID]
For example:
projects/my-project/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getTraceScope()
public abstract TraceScope getTraceScope()Required. The new trace scope.
.google.cloud.observability.v1.TraceScope trace_scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TraceScope |
The traceScope. |
getTraceScopeId()
public abstract String getTraceScopeId()Required. A client-assigned identifier for the trace scope.
string trace_scope_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The traceScopeId. |
getTraceScopeIdBytes()
public abstract ByteString getTraceScopeIdBytes()Required. A client-assigned identifier for the trace scope.
string trace_scope_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for traceScopeId. |
getTraceScopeOrBuilder()
public abstract TraceScopeOrBuilder getTraceScopeOrBuilder()Required. The new trace scope.
.google.cloud.observability.v1.TraceScope trace_scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TraceScopeOrBuilder |
|
hasTraceScope()
public abstract boolean hasTraceScope()Required. The new trace scope.
.google.cloud.observability.v1.TraceScope trace_scope = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the traceScope field is set. |