Class InitialPublishResponse.Builder (1.8.0)

public static final class InitialPublishResponse.Builder extends GeneratedMessageV3.Builder<InitialPublishResponse.Builder> implements InitialPublishResponseOrBuilder

Response to an InitialPublishRequest.

Protobuf type google.cloud.pubsublite.v1.InitialPublishResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InitialPublishResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides

build()

public InitialPublishResponse build()
Returns
TypeDescription
InitialPublishResponse

buildPartial()

public InitialPublishResponse buildPartial()
Returns
TypeDescription
InitialPublishResponse

clear()

public InitialPublishResponse.Builder clear()
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InitialPublishResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InitialPublishResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides

clone()

public InitialPublishResponse.Builder clone()
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides

getDefaultInstanceForType()

public InitialPublishResponse getDefaultInstanceForType()
Returns
TypeDescription
InitialPublishResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InitialPublishResponse other)

public InitialPublishResponse.Builder mergeFrom(InitialPublishResponse other)
Parameter
NameDescription
otherInitialPublishResponse
Returns
TypeDescription
InitialPublishResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InitialPublishResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InitialPublishResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InitialPublishResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InitialPublishResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides

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

public InitialPublishResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InitialPublishResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InitialPublishResponse.Builder
Overrides