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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateExclusionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateExclusionRequest build()
buildPartial()
public CreateExclusionRequest buildPartial()
clear()
public CreateExclusionRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateExclusionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateExclusionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateExclusionRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateExclusionRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateExclusionRequest other)
public CreateExclusionRequest.Builder mergeFrom(CreateExclusionRequest other)
public CreateExclusionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateExclusionRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateExclusionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateExclusionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateExclusionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateExclusionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides