com.google.rpc.context.AttributeContextOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-common-protos Show documentation
Show all versions of proto-google-common-protos Show documentation
PROTO library for proto-google-common-protos
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/rpc/context/attribute_context.proto
// Protobuf Java Version: 3.25.5
package com.google.rpc.context;
public interface AttributeContextOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.rpc.context.AttributeContext)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*
* @return Whether the origin field is set.
*/
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;
*
* @return The origin.
*/
com.google.rpc.context.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;
*/
com.google.rpc.context.AttributeContext.PeerOrBuilder getOriginOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the source field is set.
*/
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;
*
* @return The source.
*/
com.google.rpc.context.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;
*/
com.google.rpc.context.AttributeContext.PeerOrBuilder getSourceOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the destination field is set.
*/
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;
*
* @return The destination.
*/
com.google.rpc.context.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;
*/
com.google.rpc.context.AttributeContext.PeerOrBuilder getDestinationOrBuilder();
/**
*
*
*
* Represents a network request, such as an HTTP request.
*
*
* .google.rpc.context.AttributeContext.Request request = 3;
*
* @return Whether the request field is set.
*/
boolean hasRequest();
/**
*
*
*
* Represents a network request, such as an HTTP request.
*
*
* .google.rpc.context.AttributeContext.Request request = 3;
*
* @return The request.
*/
com.google.rpc.context.AttributeContext.Request getRequest();
/**
*
*
*
* Represents a network request, such as an HTTP request.
*
*
* .google.rpc.context.AttributeContext.Request request = 3;
*/
com.google.rpc.context.AttributeContext.RequestOrBuilder getRequestOrBuilder();
/**
*
*
*
* Represents a network response, such as an HTTP response.
*
*
* .google.rpc.context.AttributeContext.Response response = 4;
*
* @return Whether the response field is set.
*/
boolean hasResponse();
/**
*
*
*
* Represents a network response, such as an HTTP response.
*
*
* .google.rpc.context.AttributeContext.Response response = 4;
*
* @return The response.
*/
com.google.rpc.context.AttributeContext.Response getResponse();
/**
*
*
*
* Represents a network response, such as an HTTP response.
*
*
* .google.rpc.context.AttributeContext.Response response = 4;
*/
com.google.rpc.context.AttributeContext.ResponseOrBuilder getResponseOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the resource field is set.
*/
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;
*
* @return The resource.
*/
com.google.rpc.context.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;
*/
com.google.rpc.context.AttributeContext.ResourceOrBuilder getResourceOrBuilder();
/**
*
*
*
* Represents an API operation that is involved to a network activity.
*
*
* .google.rpc.context.AttributeContext.Api api = 6;
*
* @return Whether the api field is set.
*/
boolean hasApi();
/**
*
*
*
* Represents an API operation that is involved to a network activity.
*
*
* .google.rpc.context.AttributeContext.Api api = 6;
*
* @return The api.
*/
com.google.rpc.context.AttributeContext.Api getApi();
/**
*
*
*
* Represents an API operation that is involved to a network activity.
*
*
* .google.rpc.context.AttributeContext.Api api = 6;
*/
com.google.rpc.context.AttributeContext.ApiOrBuilder getApiOrBuilder();
/**
*
*
*
* Supports extensions for advanced use cases, such as logs and metrics.
*
*
* repeated .google.protobuf.Any extensions = 8;
*/
java.util.List getExtensionsList();
/**
*
*
*
* Supports extensions for advanced use cases, such as logs and metrics.
*
*
* repeated .google.protobuf.Any extensions = 8;
*/
com.google.protobuf.Any getExtensions(int index);
/**
*
*
*
* Supports extensions for advanced use cases, such as logs and metrics.
*
*
* repeated .google.protobuf.Any extensions = 8;
*/
int getExtensionsCount();
/**
*
*
*
* Supports extensions for advanced use cases, such as logs and metrics.
*
*
* repeated .google.protobuf.Any extensions = 8;
*/
java.util.List extends com.google.protobuf.AnyOrBuilder> getExtensionsOrBuilderList();
/**
*
*
*
* Supports extensions for advanced use cases, such as logs and metrics.
*
*
* repeated .google.protobuf.Any extensions = 8;
*/
com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(int index);
}