- 0.174.0-beta (latest)
- 0.173.0-beta
- 0.172.0-beta
- 0.170.0-beta
- 0.169.0-beta
- 0.168.0-beta
- 0.167.0-beta
- 0.166.0-beta
- 0.165.0-beta
- 0.164.0-beta
- 0.163.0-beta
- 0.162.0-beta
- 0.161.0-beta
- 0.160.0-beta
- 0.158.0-beta
- 0.157.0-beta
- 0.156.0-beta
- 0.155.0-beta
- 0.154.0-beta
- 0.153.0-beta
- 0.152.0-beta
- 0.151.0-beta
- 0.150.0-beta
- 0.149.0-beta
- 0.148.0-beta
- 0.145.0-beta
- 0.144.0-beta
- 0.143.0-beta
- 0.142.0-beta
- 0.141.0-beta
- 0.140.0-beta
- 0.139.0-beta
- 0.138.0-beta
- 0.137.0-beta
- 0.136.0-beta
- 0.135.0-beta
- 0.134.0-beta
- 0.133.0-beta
- 0.132.0-beta
- 0.130.0-beta
- 0.129.0-beta
- 0.128.0-beta
- 0.127.0-beta
- 0.126.0-beta
- 0.125.0-beta
- 0.124.15-beta
- 0.123.4-beta
- 0.122.23-beta
public static final class ServiceContextFilter.Builder extends GeneratedMessageV3.Builder<ServiceContextFilter.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServiceContextFilter.BuilderImplements
ServiceContextFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceContextFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
build()
public ServiceContextFilter build()
Returns | |
---|---|
Type | Description |
ServiceContextFilter |
buildPartial()
public ServiceContextFilter buildPartial()
Returns | |
---|---|
Type | Description |
ServiceContextFilter |
clear()
public ServiceContextFilter.Builder clear()
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
clearField(Descriptors.FieldDescriptor field)
public ServiceContextFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceContextFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
clearResourceType()
public ServiceContextFilter.Builder clearResourceType()
Optional. The exact value to match against
ServiceContext.resource_type
.
string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder | This builder for chaining. |
clearService()
public ServiceContextFilter.Builder clearService()
Optional. The exact value to match against
ServiceContext.service
.
string service = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder | This builder for chaining. |
clearVersion()
public ServiceContextFilter.Builder clearVersion()
Optional. The exact value to match against
ServiceContext.version
.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder | This builder for chaining. |
clone()
public ServiceContextFilter.Builder clone()
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
getDefaultInstanceForType()
public ServiceContextFilter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ServiceContextFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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 | |
---|---|
Type | Description |
ByteString | The bytes for service. |
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 | |
---|---|
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ServiceContextFilter other)
public ServiceContextFilter.Builder mergeFrom(ServiceContextFilter other)
Parameter | |
---|---|
Name | Description |
other | ServiceContextFilter |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceContextFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ServiceContextFilter.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceContextFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceContextFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceContextFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
setResourceType(String value)
public ServiceContextFilter.Builder setResourceType(String value)
Optional. The exact value to match against
ServiceContext.resource_type
.
string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The resourceType to set. |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder | This builder for chaining. |
setResourceTypeBytes(ByteString value)
public ServiceContextFilter.Builder setResourceTypeBytes(ByteString value)
Optional. The exact value to match against
ServiceContext.resource_type
.
string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for resourceType to set. |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder | This builder for chaining. |
setService(String value)
public ServiceContextFilter.Builder setService(String value)
Optional. The exact value to match against
ServiceContext.service
.
string service = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The service to set. |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder | This builder for chaining. |
setServiceBytes(ByteString value)
public ServiceContextFilter.Builder setServiceBytes(ByteString value)
Optional. The exact value to match against
ServiceContext.service
.
string service = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for service to set. |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceContextFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder |
setVersion(String value)
public ServiceContextFilter.Builder setVersion(String value)
Optional. The exact value to match against
ServiceContext.version
.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The version to set. |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public ServiceContextFilter.Builder setVersionBytes(ByteString value)
Optional. The exact value to match against
ServiceContext.version
.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
ServiceContextFilter.Builder | This builder for chaining. |