Class PostPolicyV4Test.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static final class PostPolicyV4Test.Builder extends GeneratedMessageV3.Builder<PostPolicyV4Test.Builder> implements PostPolicyV4TestOrBuilder

Protobuf type google.cloud.conformance.storage.v1.PostPolicyV4Test

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > com.google.protobuf.GeneratedMessageV3.Builder > PostPolicyV4Test.Builder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PostPolicyV4Test.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
valuejava.lang.Object
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

build()

public PostPolicyV4Test build()
Returns
TypeDescription
PostPolicyV4Test

buildPartial()

public PostPolicyV4Test buildPartial()
Returns
TypeDescription
PostPolicyV4Test

clear()

public PostPolicyV4Test.Builder clear()
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clear()

clearDescription()

public PostPolicyV4Test.Builder clearDescription()

string description = 1;

Returns
TypeDescription
PostPolicyV4Test.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PostPolicyV4Test.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor)

clearOneof(Descriptors.OneofDescriptor oneof)

public PostPolicyV4Test.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofcom.google.protobuf.Descriptors.OneofDescriptor
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)

clearPolicyInput()

public PostPolicyV4Test.Builder clearPolicyInput()

.google.cloud.conformance.storage.v1.PolicyInput policyInput = 2;

Returns
TypeDescription
PostPolicyV4Test.Builder

clearPolicyOutput()

public PostPolicyV4Test.Builder clearPolicyOutput()

.google.cloud.conformance.storage.v1.PolicyOutput policyOutput = 3;

Returns
TypeDescription
PostPolicyV4Test.Builder

clone()

public PostPolicyV4Test.Builder clone()
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clone()

getDefaultInstanceForType()

public PostPolicyV4Test getDefaultInstanceForType()
Returns
TypeDescription
PostPolicyV4Test

getDescription()

public String getDescription()

string description = 1;

Returns
TypeDescription
java.lang.String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

string description = 1;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for description.

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.getDescriptorForType()

getPolicyInput()

public PolicyInput getPolicyInput()

.google.cloud.conformance.storage.v1.PolicyInput policyInput = 2;

Returns
TypeDescription
PolicyInput

The policyInput.

getPolicyInputBuilder()

public PolicyInput.Builder getPolicyInputBuilder()

.google.cloud.conformance.storage.v1.PolicyInput policyInput = 2;

Returns
TypeDescription
PolicyInput.Builder

getPolicyInputOrBuilder()

public PolicyInputOrBuilder getPolicyInputOrBuilder()

.google.cloud.conformance.storage.v1.PolicyInput policyInput = 2;

Returns
TypeDescription
PolicyInputOrBuilder

getPolicyOutput()

public PolicyOutput getPolicyOutput()

.google.cloud.conformance.storage.v1.PolicyOutput policyOutput = 3;

Returns
TypeDescription
PolicyOutput

The policyOutput.

getPolicyOutputBuilder()

public PolicyOutput.Builder getPolicyOutputBuilder()

.google.cloud.conformance.storage.v1.PolicyOutput policyOutput = 3;

Returns
TypeDescription
PolicyOutput.Builder

getPolicyOutputOrBuilder()

public PolicyOutputOrBuilder getPolicyOutputOrBuilder()

.google.cloud.conformance.storage.v1.PolicyOutput policyOutput = 3;

Returns
TypeDescription
PolicyOutputOrBuilder

hasPolicyInput()

public boolean hasPolicyInput()

.google.cloud.conformance.storage.v1.PolicyInput policyInput = 2;

Returns
TypeDescription
boolean

Whether the policyInput field is set.

hasPolicyOutput()

public boolean hasPolicyOutput()

.google.cloud.conformance.storage.v1.PolicyOutput policyOutput = 3;

Returns
TypeDescription
boolean

Whether the policyOutput field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable()

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.isInitialized()

mergeFrom(PostPolicyV4Test other)

public PostPolicyV4Test.Builder mergeFrom(PostPolicyV4Test other)
Parameter
NameDescription
otherPostPolicyV4Test
Returns
TypeDescription
PostPolicyV4Test.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PostPolicyV4Test.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputcom.google.protobuf.CodedInputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
Exceptions
TypeDescription
java.io.IOException

mergeFrom(Message other)

public PostPolicyV4Test.Builder mergeFrom(Message other)
Parameter
NameDescription
othercom.google.protobuf.Message
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergePolicyInput(PolicyInput value)

public PostPolicyV4Test.Builder mergePolicyInput(PolicyInput value)

.google.cloud.conformance.storage.v1.PolicyInput policyInput = 2;

Parameter
NameDescription
valuePolicyInput
Returns
TypeDescription
PostPolicyV4Test.Builder

mergePolicyOutput(PolicyOutput value)

public PostPolicyV4Test.Builder mergePolicyOutput(PolicyOutput value)

.google.cloud.conformance.storage.v1.PolicyOutput policyOutput = 3;

Parameter
NameDescription
valuePolicyOutput
Returns
TypeDescription
PostPolicyV4Test.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PostPolicyV4Test.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldscom.google.protobuf.UnknownFieldSet
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet)

setDescription(String value)

public PostPolicyV4Test.Builder setDescription(String value)

string description = 1;

Parameter
NameDescription
valuejava.lang.String

The description to set.

Returns
TypeDescription
PostPolicyV4Test.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public PostPolicyV4Test.Builder setDescriptionBytes(ByteString value)

string description = 1;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes for description to set.

Returns
TypeDescription
PostPolicyV4Test.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PostPolicyV4Test.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
valuejava.lang.Object
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

setPolicyInput(PolicyInput value)

public PostPolicyV4Test.Builder setPolicyInput(PolicyInput value)

.google.cloud.conformance.storage.v1.PolicyInput policyInput = 2;

Parameter
NameDescription
valuePolicyInput
Returns
TypeDescription
PostPolicyV4Test.Builder

setPolicyInput(PolicyInput.Builder builderForValue)

public PostPolicyV4Test.Builder setPolicyInput(PolicyInput.Builder builderForValue)

.google.cloud.conformance.storage.v1.PolicyInput policyInput = 2;

Parameter
NameDescription
builderForValuePolicyInput.Builder
Returns
TypeDescription
PostPolicyV4Test.Builder

setPolicyOutput(PolicyOutput value)

public PostPolicyV4Test.Builder setPolicyOutput(PolicyOutput value)

.google.cloud.conformance.storage.v1.PolicyOutput policyOutput = 3;

Parameter
NameDescription
valuePolicyOutput
Returns
TypeDescription
PostPolicyV4Test.Builder

setPolicyOutput(PolicyOutput.Builder builderForValue)

public PostPolicyV4Test.Builder setPolicyOutput(PolicyOutput.Builder builderForValue)

.google.cloud.conformance.storage.v1.PolicyOutput policyOutput = 3;

Parameter
NameDescription
builderForValuePolicyOutput.Builder
Returns
TypeDescription
PostPolicyV4Test.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PostPolicyV4Test.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
indexint
valuejava.lang.Object
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setUnknownFields(UnknownFieldSet unknownFields)

public final PostPolicyV4Test.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldscom.google.protobuf.UnknownFieldSet
Returns
TypeDescription
PostPolicyV4Test.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet)