Interface ScopeOrBuilder (0.3.0)

public interface ScopeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLogScope()

public abstract String getLogScope()

Required. The full resource name of the logging.googleapis.com/LogScope. For example:

//logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope

string log_scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The logScope.

getLogScopeBytes()

public abstract ByteString getLogScopeBytes()

Required. The full resource name of the logging.googleapis.com/LogScope. For example:

//logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope

string log_scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for logScope.

getName()

public abstract String getName()

Identifier. Name of the resource. The format is:

projects/{project}/locations/{location}/scopes/{scope}

The {location} field must be set to global. The {scope} field must be set to _Default.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Name of the resource. The format is:

projects/{project}/locations/{location}/scopes/{scope}

The {location} field must be set to global. The {scope} field must be set to _Default.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getTraceScope()

public abstract String getTraceScope()

Required. The unqualified resource name of the cloudtrace.googleapis.com/TraceScope. For example:

projects/myproject/locations/global/traceScopes/my-trace-scope

string trace_scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The traceScope.

getTraceScopeBytes()

public abstract ByteString getTraceScopeBytes()

Required. The unqualified resource name of the cloudtrace.googleapis.com/TraceScope. For example:

projects/myproject/locations/global/traceScopes/my-trace-scope

string trace_scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for traceScope.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.