Class TestFile.Builder

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

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

Inheritance

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

Implements

TestFileOrBuilder

Methods

addAllPostPolicyV4Tests(Iterable<? extends PostPolicyV4Test> values)

public TestFile.Builder addAllPostPolicyV4Tests(Iterable<? extends PostPolicyV4Test> values)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameter
NameDescription
valuesjava.lang.Iterable<? extends com.google.cloud.conformance.storage.v1.PostPolicyV4Test>
Returns
TypeDescription
TestFile.Builder

addAllSigningV4Tests(Iterable<? extends SigningV4Test> values)

public TestFile.Builder addAllSigningV4Tests(Iterable<? extends SigningV4Test> values)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameter
NameDescription
valuesjava.lang.Iterable<? extends com.google.cloud.conformance.storage.v1.SigningV4Test>
Returns
TypeDescription
TestFile.Builder

addPostPolicyV4Tests(PostPolicyV4Test value)

public TestFile.Builder addPostPolicyV4Tests(PostPolicyV4Test value)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameter
NameDescription
valuePostPolicyV4Test
Returns
TypeDescription
TestFile.Builder

addPostPolicyV4Tests(PostPolicyV4Test.Builder builderForValue)

public TestFile.Builder addPostPolicyV4Tests(PostPolicyV4Test.Builder builderForValue)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameter
NameDescription
builderForValuePostPolicyV4Test.Builder
Returns
TypeDescription
TestFile.Builder

addPostPolicyV4Tests(int index, PostPolicyV4Test value)

public TestFile.Builder addPostPolicyV4Tests(int index, PostPolicyV4Test value)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameters
NameDescription
indexint
valuePostPolicyV4Test
Returns
TypeDescription
TestFile.Builder

addPostPolicyV4Tests(int index, PostPolicyV4Test.Builder builderForValue)

public TestFile.Builder addPostPolicyV4Tests(int index, PostPolicyV4Test.Builder builderForValue)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameters
NameDescription
indexint
builderForValuePostPolicyV4Test.Builder
Returns
TypeDescription
TestFile.Builder

addPostPolicyV4TestsBuilder()

public PostPolicyV4Test.Builder addPostPolicyV4TestsBuilder()

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Returns
TypeDescription
PostPolicyV4Test.Builder

addPostPolicyV4TestsBuilder(int index)

public PostPolicyV4Test.Builder addPostPolicyV4TestsBuilder(int index)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
PostPolicyV4Test.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSigningV4Tests(SigningV4Test value)

public TestFile.Builder addSigningV4Tests(SigningV4Test value)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameter
NameDescription
valueSigningV4Test
Returns
TypeDescription
TestFile.Builder

addSigningV4Tests(SigningV4Test.Builder builderForValue)

public TestFile.Builder addSigningV4Tests(SigningV4Test.Builder builderForValue)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameter
NameDescription
builderForValueSigningV4Test.Builder
Returns
TypeDescription
TestFile.Builder

addSigningV4Tests(int index, SigningV4Test value)

public TestFile.Builder addSigningV4Tests(int index, SigningV4Test value)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameters
NameDescription
indexint
valueSigningV4Test
Returns
TypeDescription
TestFile.Builder

addSigningV4Tests(int index, SigningV4Test.Builder builderForValue)

public TestFile.Builder addSigningV4Tests(int index, SigningV4Test.Builder builderForValue)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameters
NameDescription
indexint
builderForValueSigningV4Test.Builder
Returns
TypeDescription
TestFile.Builder

addSigningV4TestsBuilder()

public SigningV4Test.Builder addSigningV4TestsBuilder()

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Returns
TypeDescription
SigningV4Test.Builder

addSigningV4TestsBuilder(int index)

public SigningV4Test.Builder addSigningV4TestsBuilder(int index)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SigningV4Test.Builder

build()

public TestFile build()
Returns
TypeDescription
TestFile

buildPartial()

public TestFile buildPartial()
Returns
TypeDescription
TestFile

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPostPolicyV4Tests()

public TestFile.Builder clearPostPolicyV4Tests()

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Returns
TypeDescription
TestFile.Builder

clearSigningV4Tests()

public TestFile.Builder clearSigningV4Tests()

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Returns
TypeDescription
TestFile.Builder

clone()

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

getDefaultInstanceForType()

public TestFile getDefaultInstanceForType()
Returns
TypeDescription
TestFile

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()

getPostPolicyV4Tests(int index)

public PostPolicyV4Test getPostPolicyV4Tests(int index)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
PostPolicyV4Test

getPostPolicyV4TestsBuilder(int index)

public PostPolicyV4Test.Builder getPostPolicyV4TestsBuilder(int index)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
PostPolicyV4Test.Builder

getPostPolicyV4TestsBuilderList()

public List<PostPolicyV4Test.Builder> getPostPolicyV4TestsBuilderList()

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Returns
TypeDescription
java.util.List<Builder>

getPostPolicyV4TestsCount()

public int getPostPolicyV4TestsCount()

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Returns
TypeDescription
int

getPostPolicyV4TestsList()

public List<PostPolicyV4Test> getPostPolicyV4TestsList()

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Returns
TypeDescription
java.util.List<PostPolicyV4Test>

getPostPolicyV4TestsOrBuilder(int index)

public PostPolicyV4TestOrBuilder getPostPolicyV4TestsOrBuilder(int index)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
PostPolicyV4TestOrBuilder

getPostPolicyV4TestsOrBuilderList()

public List<? extends PostPolicyV4TestOrBuilder> getPostPolicyV4TestsOrBuilderList()

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Returns
TypeDescription
java.util.List<? extends com.google.cloud.conformance.storage.v1.PostPolicyV4TestOrBuilder>

getSigningV4Tests(int index)

public SigningV4Test getSigningV4Tests(int index)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SigningV4Test

getSigningV4TestsBuilder(int index)

public SigningV4Test.Builder getSigningV4TestsBuilder(int index)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SigningV4Test.Builder

getSigningV4TestsBuilderList()

public List<SigningV4Test.Builder> getSigningV4TestsBuilderList()

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Returns
TypeDescription
java.util.List<Builder>

getSigningV4TestsCount()

public int getSigningV4TestsCount()

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Returns
TypeDescription
int

getSigningV4TestsList()

public List<SigningV4Test> getSigningV4TestsList()

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Returns
TypeDescription
java.util.List<SigningV4Test>

getSigningV4TestsOrBuilder(int index)

public SigningV4TestOrBuilder getSigningV4TestsOrBuilder(int index)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SigningV4TestOrBuilder

getSigningV4TestsOrBuilderList()

public List<? extends SigningV4TestOrBuilder> getSigningV4TestsOrBuilderList()

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Returns
TypeDescription
java.util.List<? extends com.google.cloud.conformance.storage.v1.SigningV4TestOrBuilder>

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(TestFile other)

public TestFile.Builder mergeFrom(TestFile other)
Parameter
NameDescription
otherTestFile
Returns
TypeDescription
TestFile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestFile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputcom.google.protobuf.CodedInputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestFile.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 TestFile.Builder mergeFrom(Message other)
Parameter
NameDescription
othercom.google.protobuf.Message
Returns
TypeDescription
TestFile.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePostPolicyV4Tests(int index)

public TestFile.Builder removePostPolicyV4Tests(int index)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestFile.Builder

removeSigningV4Tests(int index)

public TestFile.Builder removeSigningV4Tests(int index)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestFile.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPostPolicyV4Tests(int index, PostPolicyV4Test value)

public TestFile.Builder setPostPolicyV4Tests(int index, PostPolicyV4Test value)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameters
NameDescription
indexint
valuePostPolicyV4Test
Returns
TypeDescription
TestFile.Builder

setPostPolicyV4Tests(int index, PostPolicyV4Test.Builder builderForValue)

public TestFile.Builder setPostPolicyV4Tests(int index, PostPolicyV4Test.Builder builderForValue)

repeated .google.cloud.conformance.storage.v1.PostPolicyV4Test post_policy_v4_tests = 2;

Parameters
NameDescription
indexint
builderForValuePostPolicyV4Test.Builder
Returns
TypeDescription
TestFile.Builder

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

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

setSigningV4Tests(int index, SigningV4Test value)

public TestFile.Builder setSigningV4Tests(int index, SigningV4Test value)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameters
NameDescription
indexint
valueSigningV4Test
Returns
TypeDescription
TestFile.Builder

setSigningV4Tests(int index, SigningV4Test.Builder builderForValue)

public TestFile.Builder setSigningV4Tests(int index, SigningV4Test.Builder builderForValue)

repeated .google.cloud.conformance.storage.v1.SigningV4Test signing_v4_tests = 1;

Parameters
NameDescription
indexint
builderForValueSigningV4Test.Builder
Returns
TypeDescription
TestFile.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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