Class ReportAssetFramesRequest.Builder (0.13.0)

public static final class ReportAssetFramesRequest.Builder extends GeneratedMessageV3.Builder<ReportAssetFramesRequest.Builder> implements ReportAssetFramesRequestOrBuilder

A request to report a set of asset frames.

Protobuf type google.cloud.migrationcenter.v1.ReportAssetFramesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportAssetFramesRequest build()
Returns
TypeDescription
ReportAssetFramesRequest

buildPartial()

public ReportAssetFramesRequest buildPartial()
Returns
TypeDescription
ReportAssetFramesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFrames()

public ReportAssetFramesRequest.Builder clearFrames()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
TypeDescription
ReportAssetFramesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ReportAssetFramesRequest.Builder clearParent()

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReportAssetFramesRequest.Builder

This builder for chaining.

clearSource()

public ReportAssetFramesRequest.Builder clearSource()

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ReportAssetFramesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReportAssetFramesRequest getDefaultInstanceForType()
Returns
TypeDescription
ReportAssetFramesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFrames()

public Frames getFrames()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
TypeDescription
Frames

The frames.

getFramesBuilder()

public Frames.Builder getFramesBuilder()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
TypeDescription
Frames.Builder

getFramesOrBuilder()

public FramesOrBuilder getFramesOrBuilder()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
TypeDescription
FramesOrBuilder

getParent()

public String getParent()

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for parent.

getSource()

public String getSource()

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for source.

hasFrames()

public boolean hasFrames()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
TypeDescription
boolean

Whether the frames field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrames(Frames value)

public ReportAssetFramesRequest.Builder mergeFrames(Frames value)

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Parameter
NameDescription
valueFrames
Returns
TypeDescription
ReportAssetFramesRequest.Builder

mergeFrom(ReportAssetFramesRequest other)

public ReportAssetFramesRequest.Builder mergeFrom(ReportAssetFramesRequest other)
Parameter
NameDescription
otherReportAssetFramesRequest
Returns
TypeDescription
ReportAssetFramesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFrames(Frames value)

public ReportAssetFramesRequest.Builder setFrames(Frames value)

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Parameter
NameDescription
valueFrames
Returns
TypeDescription
ReportAssetFramesRequest.Builder

setFrames(Frames.Builder builderForValue)

public ReportAssetFramesRequest.Builder setFrames(Frames.Builder builderForValue)

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Parameter
NameDescription
builderForValueFrames.Builder
Returns
TypeDescription
ReportAssetFramesRequest.Builder

setParent(String value)

public ReportAssetFramesRequest.Builder setParent(String value)

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ReportAssetFramesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ReportAssetFramesRequest.Builder setParentBytes(ByteString value)

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ReportAssetFramesRequest.Builder

This builder for chaining.

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

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

setSource(String value)

public ReportAssetFramesRequest.Builder setSource(String value)

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The source to set.

Returns
TypeDescription
ReportAssetFramesRequest.Builder

This builder for chaining.

setSourceBytes(ByteString value)

public ReportAssetFramesRequest.Builder setSourceBytes(ByteString value)

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for source to set.

Returns
TypeDescription
ReportAssetFramesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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