public static final class CreateRuleSetRequest.Builder extends GeneratedMessageV3.Builder<CreateRuleSetRequest.Builder> implements CreateRuleSetRequestOrBuilder
Request message for RuleSetService.CreateRuleSet.
Protobuf type google.cloud.contentwarehouse.v1.CreateRuleSetRequest
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 CreateRuleSetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateRuleSetRequest build()
Returns
buildPartial()
public CreateRuleSetRequest buildPartial()
Returns
clear()
public CreateRuleSetRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateRuleSetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateRuleSetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateRuleSetRequest.Builder clearParent()
Required. The parent name.
Format: projects/{project_number}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearRuleSet()
public CreateRuleSetRequest.Builder clearRuleSet()
Required. The rule set to create.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateRuleSetRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateRuleSetRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public String getParent()
Required. The parent name.
Format: projects/{project_number}/locations/{location}.
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 name.
Format: projects/{project_number}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getRuleSet()
public RuleSet getRuleSet()
Required. The rule set to create.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getRuleSetBuilder()
public RuleSet.Builder getRuleSetBuilder()
Required. The rule set to create.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getRuleSetOrBuilder()
public RuleSetOrBuilder getRuleSetOrBuilder()
Required. The rule set to create.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasRuleSet()
public boolean hasRuleSet()
Required. The rule set to create.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the ruleSet field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateRuleSetRequest other)
public CreateRuleSetRequest.Builder mergeFrom(CreateRuleSetRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateRuleSetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateRuleSetRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRuleSet(RuleSet value)
public CreateRuleSetRequest.Builder mergeRuleSet(RuleSet value)
Required. The rule set to create.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateRuleSetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateRuleSetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateRuleSetRequest.Builder setParent(String value)
Required. The parent name.
Format: projects/{project_number}/locations/{location}.
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 CreateRuleSetRequest.Builder setParentBytes(ByteString value)
Required. The parent name.
Format: projects/{project_number}/locations/{location}.
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 CreateRuleSetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRuleSet(RuleSet value)
public CreateRuleSetRequest.Builder setRuleSet(RuleSet value)
Required. The rule set to create.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRuleSet(RuleSet.Builder builderForValue)
public CreateRuleSetRequest.Builder setRuleSet(RuleSet.Builder builderForValue)
Required. The rule set to create.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateRuleSetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides