public static final class UpdateExclusionRequest.Builder extends GeneratedMessageV3.Builder<UpdateExclusionRequest.Builder> implements UpdateExclusionRequestOrBuilder
The parameters to UpdateExclusion
.
Protobuf type google.logging.v2.UpdateExclusionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateExclusionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateExclusionRequest build()
buildPartial()
public UpdateExclusionRequest buildPartial()
clear()
public UpdateExclusionRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateExclusionRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateExclusionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateExclusionRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateExclusionRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
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 |
---|
Type | Description |
FieldMask | The updateMask.
|
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateExclusionRequest other)
public UpdateExclusionRequest.Builder mergeFrom(UpdateExclusionRequest other)
public UpdateExclusionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateExclusionRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateExclusionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateExclusionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateExclusionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateExclusionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|