public static final class InitialPublishResponse.Builder extends GeneratedMessageV3.Builder<InitialPublishResponse.Builder> implements InitialPublishResponseOrBuilder
Response to an InitialPublishRequest.
Protobuf type google.cloud.pubsublite.v1.InitialPublishResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InitialPublishResponse.BuilderImplements
InitialPublishResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InitialPublishResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
build()
public InitialPublishResponse build()
Returns | |
---|---|
Type | Description |
InitialPublishResponse |
buildPartial()
public InitialPublishResponse buildPartial()
Returns | |
---|---|
Type | Description |
InitialPublishResponse |
clear()
public InitialPublishResponse.Builder clear()
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public InitialPublishResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InitialPublishResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
clone()
public InitialPublishResponse.Builder clone()
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
getDefaultInstanceForType()
public InitialPublishResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InitialPublishResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InitialPublishResponse other)
public InitialPublishResponse.Builder mergeFrom(InitialPublishResponse other)
Parameter | |
---|---|
Name | Description |
other |
InitialPublishResponse |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InitialPublishResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InitialPublishResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InitialPublishResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InitialPublishResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InitialPublishResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InitialPublishResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InitialPublishResponse.Builder |