public static final class UpdateExclusionRequest.Builder extends GeneratedMessage.Builder<UpdateExclusionRequest.Builder> implements UpdateExclusionRequestOrBuilder The parameters to UpdateExclusion.
Protobuf type google.logging.v2.UpdateExclusionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateExclusionRequest.BuilderImplements
UpdateExclusionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateExclusionRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest |
|
buildPartial()
public UpdateExclusionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest |
|
clear()
public UpdateExclusionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
getDefaultInstanceForType()
public UpdateExclusionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
LogExclusion |
The exclusion. |
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 | |
|---|---|
| Type | Description |
LogExclusion.Builder |
|
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 | |
|---|---|
| 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]"
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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 | |
|---|---|
| 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];
| 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Name | Description |
value |
LogExclusion |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
mergeFrom(UpdateExclusionRequest other)
public UpdateExclusionRequest.Builder mergeFrom(UpdateExclusionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateExclusionRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateExclusionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateExclusionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
LogExclusion |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
LogExclusion.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
UpdateExclusionRequest.Builder |
|