public final class ServiceContextFilter extends GeneratedMessageV3 implements ServiceContextFilterOrBuilder
Specifies criteria for filtering a subset of service contexts.
The fields in the filter correspond to the fields in ServiceContext
.
Only exact, case-sensitive matches are supported.
If a field is unset or empty, it matches arbitrary values.
Protobuf type google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter
Static Fields
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ServiceContextFilter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ServiceContextFilter.Builder newBuilder()
Returns
newBuilder(ServiceContextFilter prototype)
public static ServiceContextFilter.Builder newBuilder(ServiceContextFilter prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static ServiceContextFilter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServiceContextFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ServiceContextFilter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServiceContextFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ServiceContextFilter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceContextFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static ServiceContextFilter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServiceContextFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static ServiceContextFilter parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServiceContextFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ServiceContextFilter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServiceContextFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ServiceContextFilter> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ServiceContextFilter getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ServiceContextFilter> getParserForType()
Returns
Overrides
getResourceType()
public String getResourceType()
Optional. The exact value to match against
ServiceContext.resource_type
.
string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The resourceType.
|
getResourceTypeBytes()
public ByteString getResourceTypeBytes()
Optional. The exact value to match against
ServiceContext.resource_type
.
string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
ByteString | The bytes for resourceType.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getService()
public String getService()
Optional. The exact value to match against
ServiceContext.service
.
string service = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The service.
|
getServiceBytes()
public ByteString getServiceBytes()
Optional. The exact value to match against
ServiceContext.service
.
string service = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVersion()
public String getVersion()
Optional. The exact value to match against
ServiceContext.version
.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Optional. The exact value to match against
ServiceContext.version
.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ServiceContextFilter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServiceContextFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ServiceContextFilter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions