Class UpdateApplicationStreamInputRequest.Builder (0.2.0)

public static final class UpdateApplicationStreamInputRequest.Builder extends GeneratedMessageV3.Builder<UpdateApplicationStreamInputRequest.Builder> implements UpdateApplicationStreamInputRequestOrBuilder

Message for updating stream input to an Application.

Protobuf type google.cloud.visionai.v1.UpdateApplicationStreamInputRequest

Static Methods

getDescriptor()

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

Methods

addAllApplicationStreamInputs(Iterable<? extends ApplicationStreamInput> values)

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

The stream inputs to update, 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
UpdateApplicationStreamInputRequest.Builder

addApplicationStreamInputs(ApplicationStreamInput value)

public UpdateApplicationStreamInputRequest.Builder addApplicationStreamInputs(ApplicationStreamInput value)

The stream inputs to update, 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
UpdateApplicationStreamInputRequest.Builder

addApplicationStreamInputs(ApplicationStreamInput.Builder builderForValue)

public UpdateApplicationStreamInputRequest.Builder addApplicationStreamInputs(ApplicationStreamInput.Builder builderForValue)

The stream inputs to update, 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
UpdateApplicationStreamInputRequest.Builder

addApplicationStreamInputs(int index, ApplicationStreamInput value)

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

The stream inputs to update, 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
UpdateApplicationStreamInputRequest.Builder

addApplicationStreamInputs(int index, ApplicationStreamInput.Builder builderForValue)

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

The stream inputs to update, 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
UpdateApplicationStreamInputRequest.Builder

addApplicationStreamInputsBuilder()

public ApplicationStreamInput.Builder addApplicationStreamInputsBuilder()

The stream inputs to update, 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 update, 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 UpdateApplicationStreamInputRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateApplicationStreamInputRequest.Builder
Overrides

build()

public UpdateApplicationStreamInputRequest build()
Returns
Type Description
UpdateApplicationStreamInputRequest

buildPartial()

public UpdateApplicationStreamInputRequest buildPartial()
Returns
Type Description
UpdateApplicationStreamInputRequest

clear()

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

clearAllowMissing()

public UpdateApplicationStreamInputRequest.Builder clearAllowMissing()

If true, UpdateApplicationStreamInput will insert stream input to application even if the target stream is not included in the application.

bool allow_missing = 4;

Returns
Type Description
UpdateApplicationStreamInputRequest.Builder

This builder for chaining.

clearApplicationStreamInputs()

public UpdateApplicationStreamInputRequest.Builder clearApplicationStreamInputs()

The stream inputs to update, 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
UpdateApplicationStreamInputRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UpdateApplicationStreamInputRequest.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
UpdateApplicationStreamInputRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public UpdateApplicationStreamInputRequest.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
UpdateApplicationStreamInputRequest.Builder

This builder for chaining.

clone()

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

getAllowMissing()

public boolean getAllowMissing()

If true, UpdateApplicationStreamInput will insert stream input to application even if the target stream is not included in the application.

bool allow_missing = 4;

Returns
Type Description
boolean

The allowMissing.

getApplicationStreamInputs(int index)

public ApplicationStreamInput getApplicationStreamInputs(int index)

The stream inputs to update, 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 update, 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 update, 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 update, 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 update, 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 update, 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 update, 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 UpdateApplicationStreamInputRequest getDefaultInstanceForType()
Returns
Type Description
UpdateApplicationStreamInputRequest

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeApplicationStreamInputs(int index)

public UpdateApplicationStreamInputRequest.Builder removeApplicationStreamInputs(int index)

The stream inputs to update, 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
UpdateApplicationStreamInputRequest.Builder

setAllowMissing(boolean value)

public UpdateApplicationStreamInputRequest.Builder setAllowMissing(boolean value)

If true, UpdateApplicationStreamInput will insert stream input to application even if the target stream is not included in the application.

bool allow_missing = 4;

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
UpdateApplicationStreamInputRequest.Builder

This builder for chaining.

setApplicationStreamInputs(int index, ApplicationStreamInput value)

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

The stream inputs to update, 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
UpdateApplicationStreamInputRequest.Builder

setApplicationStreamInputs(int index, ApplicationStreamInput.Builder builderForValue)

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

The stream inputs to update, 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
UpdateApplicationStreamInputRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public UpdateApplicationStreamInputRequest.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
UpdateApplicationStreamInputRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateApplicationStreamInputRequest.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
UpdateApplicationStreamInputRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public UpdateApplicationStreamInputRequest.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
UpdateApplicationStreamInputRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateApplicationStreamInputRequest.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
UpdateApplicationStreamInputRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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