public static final class CreateExclusionRequest.Builder extends GeneratedMessageV3.Builder<CreateExclusionRequest.Builder> implements CreateExclusionRequestOrBuilder
The parameters to CreateExclusion
.
Protobuf type google.logging.v2.CreateExclusionRequest
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateExclusionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateExclusionRequest build()
Returns
buildPartial()
public CreateExclusionRequest buildPartial()
Returns
clear()
public CreateExclusionRequest.Builder clear()
Returns
Overrides
clearExclusion()
public CreateExclusionRequest.Builder clearExclusion()
Required. The new exclusion, whose name
parameter is an exclusion name
that is not already used in the parent resource.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateExclusionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateExclusionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateExclusionRequest.Builder clearParent()
Required. The parent resource in which to create the exclusion:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
For examples:
"projects/my-logging-project"
"organizations/123456789"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateExclusionRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateExclusionRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExclusion()
public LogExclusion getExclusion()
Required. The new exclusion, whose name
parameter is an exclusion name
that is not already used in the parent resource.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getExclusionBuilder()
public LogExclusion.Builder getExclusionBuilder()
Required. The new exclusion, whose name
parameter is an exclusion name
that is not already used in the parent resource.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getExclusionOrBuilder()
public LogExclusionOrBuilder getExclusionOrBuilder()
Required. The new exclusion, whose name
parameter is an exclusion name
that is not already used in the parent resource.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParent()
public String getParent()
Required. The parent resource in which to create the exclusion:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
For examples:
"projects/my-logging-project"
"organizations/123456789"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource in which to create the exclusion:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
For examples:
"projects/my-logging-project"
"organizations/123456789"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
hasExclusion()
public boolean hasExclusion()
Required. The new exclusion, whose name
parameter is an exclusion name
that is not already used in the parent resource.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the exclusion field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExclusion(LogExclusion value)
public CreateExclusionRequest.Builder mergeExclusion(LogExclusion value)
Required. The new exclusion, whose name
parameter is an exclusion name
that is not already used in the parent resource.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateExclusionRequest other)
public CreateExclusionRequest.Builder mergeFrom(CreateExclusionRequest other)
Parameter
Returns
public CreateExclusionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateExclusionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateExclusionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setExclusion(LogExclusion value)
public CreateExclusionRequest.Builder setExclusion(LogExclusion value)
Required. The new exclusion, whose name
parameter is an exclusion name
that is not already used in the parent resource.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setExclusion(LogExclusion.Builder builderForValue)
public CreateExclusionRequest.Builder setExclusion(LogExclusion.Builder builderForValue)
Required. The new exclusion, whose name
parameter is an exclusion name
that is not already used in the parent resource.
.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateExclusionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateExclusionRequest.Builder setParent(String value)
Required. The parent resource in which to create the exclusion:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
For examples:
"projects/my-logging-project"
"organizations/123456789"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateExclusionRequest.Builder setParentBytes(ByteString value)
Required. The parent resource in which to create the exclusion:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
For examples:
"projects/my-logging-project"
"organizations/123456789"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateExclusionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateExclusionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides