Class GetStreamObjectRequest.Builder (1.1.0)

public static final class GetStreamObjectRequest.Builder extends GeneratedMessageV3.Builder<GetStreamObjectRequest.Builder> implements GetStreamObjectRequestOrBuilder

Request for fetching a specific stream object.

Protobuf type google.cloud.datastream.v1.GetStreamObjectRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetStreamObjectRequest build()
Returns
TypeDescription
GetStreamObjectRequest

buildPartial()

public GetStreamObjectRequest buildPartial()
Returns
TypeDescription
GetStreamObjectRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetStreamObjectRequest.Builder clearName()

Required. The name of the stream object resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetStreamObjectRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetStreamObjectRequest getDefaultInstanceForType()
Returns
TypeDescription
GetStreamObjectRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the stream object resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the stream object resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetStreamObjectRequest other)

public GetStreamObjectRequest.Builder mergeFrom(GetStreamObjectRequest other)
Parameter
NameDescription
otherGetStreamObjectRequest
Returns
TypeDescription
GetStreamObjectRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetStreamObjectRequest.Builder setName(String value)

Required. The name of the stream object resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetStreamObjectRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetStreamObjectRequest.Builder setNameBytes(ByteString value)

Required. The name of the stream object resource to get.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetStreamObjectRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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