Interface AttributeContextOrBuilder (2.24.0)

public interface AttributeContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApi()

public abstract AttributeContext.Api getApi()

Represents an API operation that is involved to a network activity.

.google.rpc.context.AttributeContext.Api api = 6;

Returns
TypeDescription
AttributeContext.Api

The api.

getApiOrBuilder()

public abstract AttributeContext.ApiOrBuilder getApiOrBuilder()

Represents an API operation that is involved to a network activity.

.google.rpc.context.AttributeContext.Api api = 6;

Returns
TypeDescription
AttributeContext.ApiOrBuilder

getDestination()

public abstract AttributeContext.Peer getDestination()

The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop.

.google.rpc.context.AttributeContext.Peer destination = 2;

Returns
TypeDescription
AttributeContext.Peer

The destination.

getDestinationOrBuilder()

public abstract AttributeContext.PeerOrBuilder getDestinationOrBuilder()

The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop.

.google.rpc.context.AttributeContext.Peer destination = 2;

Returns
TypeDescription
AttributeContext.PeerOrBuilder

getExtensions(int index)

public abstract Any getExtensions(int index)

Supports extensions for advanced use cases, such as logs and metrics.

repeated .google.protobuf.Any extensions = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
Any

getExtensionsCount()

public abstract int getExtensionsCount()

Supports extensions for advanced use cases, such as logs and metrics.

repeated .google.protobuf.Any extensions = 8;

Returns
TypeDescription
int

getExtensionsList()

public abstract List<Any> getExtensionsList()

Supports extensions for advanced use cases, such as logs and metrics.

repeated .google.protobuf.Any extensions = 8;

Returns
TypeDescription
List<Any>

getExtensionsOrBuilder(int index)

public abstract AnyOrBuilder getExtensionsOrBuilder(int index)

Supports extensions for advanced use cases, such as logs and metrics.

repeated .google.protobuf.Any extensions = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnyOrBuilder

getExtensionsOrBuilderList()

public abstract List<? extends AnyOrBuilder> getExtensionsOrBuilderList()

Supports extensions for advanced use cases, such as logs and metrics.

repeated .google.protobuf.Any extensions = 8;

Returns
TypeDescription
List<? extends com.google.protobuf.AnyOrBuilder>

getOrigin()

public abstract AttributeContext.Peer getOrigin()

The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the source and the origin must have the same content.

.google.rpc.context.AttributeContext.Peer origin = 7;

Returns
TypeDescription
AttributeContext.Peer

The origin.

getOriginOrBuilder()

public abstract AttributeContext.PeerOrBuilder getOriginOrBuilder()

The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the source and the origin must have the same content.

.google.rpc.context.AttributeContext.Peer origin = 7;

Returns
TypeDescription
AttributeContext.PeerOrBuilder

getRequest()

public abstract AttributeContext.Request getRequest()

Represents a network request, such as an HTTP request.

.google.rpc.context.AttributeContext.Request request = 3;

Returns
TypeDescription
AttributeContext.Request

The request.

getRequestOrBuilder()

public abstract AttributeContext.RequestOrBuilder getRequestOrBuilder()

Represents a network request, such as an HTTP request.

.google.rpc.context.AttributeContext.Request request = 3;

Returns
TypeDescription
AttributeContext.RequestOrBuilder

getResource()

public abstract AttributeContext.Resource getResource()

Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.

.google.rpc.context.AttributeContext.Resource resource = 5;

Returns
TypeDescription
AttributeContext.Resource

The resource.

getResourceOrBuilder()

public abstract AttributeContext.ResourceOrBuilder getResourceOrBuilder()

Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.

.google.rpc.context.AttributeContext.Resource resource = 5;

Returns
TypeDescription
AttributeContext.ResourceOrBuilder

getResponse()

public abstract AttributeContext.Response getResponse()

Represents a network response, such as an HTTP response.

.google.rpc.context.AttributeContext.Response response = 4;

Returns
TypeDescription
AttributeContext.Response

The response.

getResponseOrBuilder()

public abstract AttributeContext.ResponseOrBuilder getResponseOrBuilder()

Represents a network response, such as an HTTP response.

.google.rpc.context.AttributeContext.Response response = 4;

Returns
TypeDescription
AttributeContext.ResponseOrBuilder

getSource()

public abstract AttributeContext.Peer getSource()

The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.

.google.rpc.context.AttributeContext.Peer source = 1;

Returns
TypeDescription
AttributeContext.Peer

The source.

getSourceOrBuilder()

public abstract AttributeContext.PeerOrBuilder getSourceOrBuilder()

The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.

.google.rpc.context.AttributeContext.Peer source = 1;

Returns
TypeDescription
AttributeContext.PeerOrBuilder

hasApi()

public abstract boolean hasApi()

Represents an API operation that is involved to a network activity.

.google.rpc.context.AttributeContext.Api api = 6;

Returns
TypeDescription
boolean

Whether the api field is set.

hasDestination()

public abstract boolean hasDestination()

The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop.

.google.rpc.context.AttributeContext.Peer destination = 2;

Returns
TypeDescription
boolean

Whether the destination field is set.

hasOrigin()

public abstract boolean hasOrigin()

The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the source and the origin must have the same content.

.google.rpc.context.AttributeContext.Peer origin = 7;

Returns
TypeDescription
boolean

Whether the origin field is set.

hasRequest()

public abstract boolean hasRequest()

Represents a network request, such as an HTTP request.

.google.rpc.context.AttributeContext.Request request = 3;

Returns
TypeDescription
boolean

Whether the request field is set.

hasResource()

public abstract boolean hasResource()

Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.

.google.rpc.context.AttributeContext.Resource resource = 5;

Returns
TypeDescription
boolean

Whether the resource field is set.

hasResponse()

public abstract boolean hasResponse()

Represents a network response, such as an HTTP response.

.google.rpc.context.AttributeContext.Response response = 4;

Returns
TypeDescription
boolean

Whether the response field is set.

hasSource()

public abstract boolean hasSource()

The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.

.google.rpc.context.AttributeContext.Peer source = 1;

Returns
TypeDescription
boolean

Whether the source field is set.