public final class UpdateExclusionRequest extends GeneratedMessageV3 implements UpdateExclusionRequestOrBuilder
The parameters to UpdateExclusion
.
Protobuf type google.logging.v2.UpdateExclusionRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateExclusionRequestImplements
UpdateExclusionRequestOrBuilderFields
EXCLUSION_FIELD_NUMBER
public static final int EXCLUSION_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static UpdateExclusionRequest getDefaultInstance()
Type | Description |
UpdateExclusionRequest |
getDefaultInstanceForType()
public UpdateExclusionRequest getDefaultInstanceForType()
Type | Description |
UpdateExclusionRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getExclusion()
public LogExclusion getExclusion()
Required. New values for the existing exclusion. Only the fields specified in
update_mask
are relevant.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LogExclusion | The exclusion. |
getExclusionOrBuilder()
public LogExclusionOrBuilder getExclusionOrBuilder()
Required. New values for the existing exclusion. Only the fields specified in
update_mask
are relevant.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LogExclusionOrBuilder |
getName()
public String getName()
Required. The resource name of the exclusion to update:
"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
Example: "projects/my-project-id/exclusions/my-exclusion-id"
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the exclusion to update:
"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
Example: "projects/my-project-id/exclusions/my-exclusion-id"
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<UpdateExclusionRequest> getParserForType()
Type | Description |
Parser<UpdateExclusionRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateMask()
public FieldMask getUpdateMask()
Required. A non-empty list of fields to change in the existing exclusion. New values
for the fields are taken from the corresponding fields in the
LogExclusion included in this request. Fields not mentioned in
update_mask
are not changed and are ignored in the request.
For example, to change the filter and description of an exclusion,
specify an update_mask
of "filter,description"
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. A non-empty list of fields to change in the existing exclusion. New values
for the fields are taken from the corresponding fields in the
LogExclusion included in this request. Fields not mentioned in
update_mask
are not changed and are ignored in the request.
For example, to change the filter and description of an exclusion,
specify an update_mask
of "filter,description"
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
FieldMaskOrBuilder |
hasExclusion()
public boolean hasExclusion()
Required. New values for the existing exclusion. Only the fields specified in
update_mask
are relevant.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the exclusion field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Required. A non-empty list of fields to change in the existing exclusion. New values
for the fields are taken from the corresponding fields in the
LogExclusion included in this request. Fields not mentioned in
update_mask
are not changed and are ignored in the request.
For example, to change the filter and description of an exclusion,
specify an update_mask
of "filter,description"
.
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the updateMask field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static UpdateExclusionRequest.Builder newBuilder()
Type | Description |
UpdateExclusionRequest.Builder |
newBuilder(UpdateExclusionRequest prototype)
public static UpdateExclusionRequest.Builder newBuilder(UpdateExclusionRequest prototype)
Name | Description |
prototype | UpdateExclusionRequest |
Type | Description |
UpdateExclusionRequest.Builder |
newBuilderForType()
public UpdateExclusionRequest.Builder newBuilderForType()
Type | Description |
UpdateExclusionRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateExclusionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
UpdateExclusionRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static UpdateExclusionRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateExclusionRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateExclusionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateExclusionRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateExclusionRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
UpdateExclusionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateExclusionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateExclusionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpdateExclusionRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
UpdateExclusionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateExclusionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateExclusionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpdateExclusionRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
UpdateExclusionRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateExclusionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateExclusionRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpdateExclusionRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateExclusionRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateExclusionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateExclusionRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpdateExclusionRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
UpdateExclusionRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateExclusionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateExclusionRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpdateExclusionRequest> parser()
Type | Description |
Parser<UpdateExclusionRequest> |
toBuilder()
public UpdateExclusionRequest.Builder toBuilder()
Type | Description |
UpdateExclusionRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |