public static final class UpdateRuleSetRequest.Builder extends GeneratedMessage.Builder<UpdateRuleSetRequest.Builder> implements UpdateRuleSetRequestOrBuilderRequest message for RuleSetService.UpdateRuleSet.
Protobuf type google.cloud.contentwarehouse.v1.UpdateRuleSetRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateRuleSetRequest.BuilderImplements
UpdateRuleSetRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateRuleSetRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest |
|
buildPartial()
public UpdateRuleSetRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest |
|
clear()
public UpdateRuleSetRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
|
clearName()
public UpdateRuleSetRequest.Builder clearName()Required. The name of the rule set to update. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
This builder for chaining. |
clearRuleSet()
public UpdateRuleSetRequest.Builder clearRuleSet()Required. The rule set to update.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
|
getDefaultInstanceForType()
public UpdateRuleSetRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the rule set to update. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the rule set to update. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRuleSet()
public RuleSet getRuleSet()Required. The rule set to update.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RuleSet |
The ruleSet. |
getRuleSetBuilder()
public RuleSet.Builder getRuleSetBuilder()Required. The rule set to update.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RuleSet.Builder |
|
getRuleSetOrBuilder()
public RuleSetOrBuilder getRuleSetOrBuilder()Required. The rule set to update.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RuleSetOrBuilder |
|
hasRuleSet()
public boolean hasRuleSet()Required. The rule set to update.
.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateRuleSetRequest other)
public UpdateRuleSetRequest.Builder mergeFrom(UpdateRuleSetRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateRuleSetRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateRuleSetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateRuleSetRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
|
mergeRuleSet(RuleSet value)
public UpdateRuleSetRequest.Builder mergeRuleSet(RuleSet value)Required. The rule set to update.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RuleSet |
| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
|
setName(String value)
public UpdateRuleSetRequest.Builder setName(String value)Required. The name of the rule set to update. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UpdateRuleSetRequest.Builder setNameBytes(ByteString value)Required. The name of the rule set to update. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.
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 |
UpdateRuleSetRequest.Builder |
This builder for chaining. |
setRuleSet(RuleSet value)
public UpdateRuleSetRequest.Builder setRuleSet(RuleSet value)Required. The rule set to update.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RuleSet |
| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
|
setRuleSet(RuleSet.Builder builderForValue)
public UpdateRuleSetRequest.Builder setRuleSet(RuleSet.Builder builderForValue)Required. The rule set to update.
.google.cloud.contentwarehouse.v1.RuleSet rule_set = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RuleSet.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateRuleSetRequest.Builder |
|