Class AddApplicationStreamInputRequest.Builder (0.2.0)

public static final class AddApplicationStreamInputRequest.Builder extends GeneratedMessageV3.Builder<AddApplicationStreamInputRequest.Builder> implements AddApplicationStreamInputRequestOrBuilder

Message for adding stream input to an Application.

Protobuf type google.cloud.visionai.v1.AddApplicationStreamInputRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllApplicationStreamInputs(Iterable<? extends ApplicationStreamInput> values)

public AddApplicationStreamInputRequest.Builder addAllApplicationStreamInputs(Iterable<? extends ApplicationStreamInput> values)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.ApplicationStreamInput>
Returns
Type Description
AddApplicationStreamInputRequest.Builder

addApplicationStreamInputs(ApplicationStreamInput value)

public AddApplicationStreamInputRequest.Builder addApplicationStreamInputs(ApplicationStreamInput value)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameter
Name Description
value ApplicationStreamInput
Returns
Type Description
AddApplicationStreamInputRequest.Builder

addApplicationStreamInputs(ApplicationStreamInput.Builder builderForValue)

public AddApplicationStreamInputRequest.Builder addApplicationStreamInputs(ApplicationStreamInput.Builder builderForValue)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameter
Name Description
builderForValue ApplicationStreamInput.Builder
Returns
Type Description
AddApplicationStreamInputRequest.Builder

addApplicationStreamInputs(int index, ApplicationStreamInput value)

public AddApplicationStreamInputRequest.Builder addApplicationStreamInputs(int index, ApplicationStreamInput value)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameters
Name Description
index int
value ApplicationStreamInput
Returns
Type Description
AddApplicationStreamInputRequest.Builder

addApplicationStreamInputs(int index, ApplicationStreamInput.Builder builderForValue)

public AddApplicationStreamInputRequest.Builder addApplicationStreamInputs(int index, ApplicationStreamInput.Builder builderForValue)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameters
Name Description
index int
builderForValue ApplicationStreamInput.Builder
Returns
Type Description
AddApplicationStreamInputRequest.Builder

addApplicationStreamInputsBuilder()

public ApplicationStreamInput.Builder addApplicationStreamInputsBuilder()

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Returns
Type Description
ApplicationStreamInput.Builder

addApplicationStreamInputsBuilder(int index)

public ApplicationStreamInput.Builder addApplicationStreamInputsBuilder(int index)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
ApplicationStreamInput.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AddApplicationStreamInputRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides

build()

public AddApplicationStreamInputRequest build()
Returns
Type Description
AddApplicationStreamInputRequest

buildPartial()

public AddApplicationStreamInputRequest buildPartial()
Returns
Type Description
AddApplicationStreamInputRequest

clear()

public AddApplicationStreamInputRequest.Builder clear()
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides

clearApplicationStreamInputs()

public AddApplicationStreamInputRequest.Builder clearApplicationStreamInputs()

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Returns
Type Description
AddApplicationStreamInputRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public AddApplicationStreamInputRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides

clearName()

public AddApplicationStreamInputRequest.Builder clearName()

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

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

Returns
Type Description
AddApplicationStreamInputRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AddApplicationStreamInputRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides

clearRequestId()

public AddApplicationStreamInputRequest.Builder clearRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AddApplicationStreamInputRequest.Builder

This builder for chaining.

clone()

public AddApplicationStreamInputRequest.Builder clone()
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides

getApplicationStreamInputs(int index)

public ApplicationStreamInput getApplicationStreamInputs(int index)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
ApplicationStreamInput

getApplicationStreamInputsBuilder(int index)

public ApplicationStreamInput.Builder getApplicationStreamInputsBuilder(int index)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
ApplicationStreamInput.Builder

getApplicationStreamInputsBuilderList()

public List<ApplicationStreamInput.Builder> getApplicationStreamInputsBuilderList()

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Returns
Type Description
List<Builder>

getApplicationStreamInputsCount()

public int getApplicationStreamInputsCount()

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Returns
Type Description
int

getApplicationStreamInputsList()

public List<ApplicationStreamInput> getApplicationStreamInputsList()

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Returns
Type Description
List<ApplicationStreamInput>

getApplicationStreamInputsOrBuilder(int index)

public ApplicationStreamInputOrBuilder getApplicationStreamInputsOrBuilder(int index)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
ApplicationStreamInputOrBuilder

getApplicationStreamInputsOrBuilderList()

public List<? extends ApplicationStreamInputOrBuilder> getApplicationStreamInputsOrBuilderList()

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.ApplicationStreamInputOrBuilder>

getDefaultInstanceForType()

public AddApplicationStreamInputRequest getDefaultInstanceForType()
Returns
Type Description
AddApplicationStreamInputRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

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

Returns
Type Description
ByteString

The bytes for name.

getRequestId()

public String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AddApplicationStreamInputRequest other)

public AddApplicationStreamInputRequest.Builder mergeFrom(AddApplicationStreamInputRequest other)
Parameter
Name Description
other AddApplicationStreamInputRequest
Returns
Type Description
AddApplicationStreamInputRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AddApplicationStreamInputRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AddApplicationStreamInputRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AddApplicationStreamInputRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides

removeApplicationStreamInputs(int index)

public AddApplicationStreamInputRequest.Builder removeApplicationStreamInputs(int index)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
AddApplicationStreamInputRequest.Builder

setApplicationStreamInputs(int index, ApplicationStreamInput value)

public AddApplicationStreamInputRequest.Builder setApplicationStreamInputs(int index, ApplicationStreamInput value)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameters
Name Description
index int
value ApplicationStreamInput
Returns
Type Description
AddApplicationStreamInputRequest.Builder

setApplicationStreamInputs(int index, ApplicationStreamInput.Builder builderForValue)

public AddApplicationStreamInputRequest.Builder setApplicationStreamInputs(int index, ApplicationStreamInput.Builder builderForValue)

The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application.

repeated .google.cloud.visionai.v1.ApplicationStreamInput application_stream_inputs = 2;

Parameters
Name Description
index int
builderForValue ApplicationStreamInput.Builder
Returns
Type Description
AddApplicationStreamInputRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AddApplicationStreamInputRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides

setName(String value)

public AddApplicationStreamInputRequest.Builder setName(String value)

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AddApplicationStreamInputRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AddApplicationStreamInputRequest.Builder setNameBytes(ByteString value)

Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}"

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AddApplicationStreamInputRequest.Builder

This builder for chaining.

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

public AddApplicationStreamInputRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides

setRequestId(String value)

public AddApplicationStreamInputRequest.Builder setRequestId(String value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
AddApplicationStreamInputRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public AddApplicationStreamInputRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
AddApplicationStreamInputRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AddApplicationStreamInputRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AddApplicationStreamInputRequest.Builder
Overrides