public static final class UpdateExclusionRequest.Builder extends GeneratedMessageV3.Builder<UpdateExclusionRequest.Builder> implements UpdateExclusionRequestOrBuilder
The parameters to UpdateExclusion
.
Protobuf type google.logging.v2.UpdateExclusionRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateExclusionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateExclusionRequest build()
Returns
buildPartial()
public UpdateExclusionRequest buildPartial()
Returns
clear()
public UpdateExclusionRequest.Builder clear()
Returns
Overrides
clearExclusion()
public UpdateExclusionRequest.Builder clearExclusion()
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateExclusionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public UpdateExclusionRequest.Builder clearName()
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]"
For example:
"projects/my-project/exclusions/my-exclusion"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateExclusionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateExclusionRequest.Builder clearUpdateMask()
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];
Returns
clone()
public UpdateExclusionRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateExclusionRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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];
Returns
getExclusionBuilder()
public LogExclusion.Builder getExclusionBuilder()
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];
Returns
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];
Returns
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]"
For example:
"projects/my-project/exclusions/my-exclusion"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
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]"
For example:
"projects/my-project/exclusions/my-exclusion"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
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];
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
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];
Returns
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];
Returns
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];
Returns
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];
Returns
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExclusion(LogExclusion value)
public UpdateExclusionRequest.Builder mergeExclusion(LogExclusion value)
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];
Parameter
Returns
mergeFrom(UpdateExclusionRequest other)
public UpdateExclusionRequest.Builder mergeFrom(UpdateExclusionRequest other)
Parameter
Returns
public UpdateExclusionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateExclusionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateExclusionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateExclusionRequest.Builder mergeUpdateMask(FieldMask value)
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];
Parameter
Returns
setExclusion(LogExclusion value)
public UpdateExclusionRequest.Builder setExclusion(LogExclusion value)
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];
Parameter
Returns
setExclusion(LogExclusion.Builder builderForValue)
public UpdateExclusionRequest.Builder setExclusion(LogExclusion.Builder builderForValue)
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateExclusionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public UpdateExclusionRequest.Builder setName(String value)
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]"
For example:
"projects/my-project/exclusions/my-exclusion"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
String
The name to set.
|
Returns
setNameBytes(ByteString value)
public UpdateExclusionRequest.Builder setNameBytes(ByteString value)
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]"
For example:
"projects/my-project/exclusions/my-exclusion"
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateExclusionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateExclusionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateExclusionRequest.Builder setUpdateMask(FieldMask value)
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];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateExclusionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
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];
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns