Class GetErrorFrameRequest.Builder (0.15.0)

public static final class GetErrorFrameRequest.Builder extends GeneratedMessageV3.Builder<GetErrorFrameRequest.Builder> implements GetErrorFrameRequestOrBuilder

Protobuf type google.cloud.migrationcenter.v1.GetErrorFrameRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetErrorFrameRequest build()
Returns
TypeDescription
GetErrorFrameRequest

buildPartial()

public GetErrorFrameRequest buildPartial()
Returns
TypeDescription
GetErrorFrameRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetErrorFrameRequest.Builder clearName()

Required. The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}

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

Returns
TypeDescription
GetErrorFrameRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearView()

public GetErrorFrameRequest.Builder clearView()

Optional. An optional view mode to control the level of details for the frame. The default is a basic frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GetErrorFrameRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetErrorFrameRequest getDefaultInstanceForType()
Returns
TypeDescription
GetErrorFrameRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}

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 frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}

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

Returns
TypeDescription
ByteString

The bytes for name.

getView()

public ErrorFrameView getView()

Optional. An optional view mode to control the level of details for the frame. The default is a basic frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ErrorFrameView

The view.

getViewValue()

public int getViewValue()

Optional. An optional view mode to control the level of details for the frame. The default is a basic frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetErrorFrameRequest other)

public GetErrorFrameRequest.Builder mergeFrom(GetErrorFrameRequest other)
Parameter
NameDescription
otherGetErrorFrameRequest
Returns
TypeDescription
GetErrorFrameRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetErrorFrameRequest.Builder setName(String value)

Required. The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetErrorFrameRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetErrorFrameRequest.Builder setNameBytes(ByteString value)

Required. The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetErrorFrameRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(ErrorFrameView value)

public GetErrorFrameRequest.Builder setView(ErrorFrameView value)

Optional. An optional view mode to control the level of details for the frame. The default is a basic frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueErrorFrameView

The view to set.

Returns
TypeDescription
GetErrorFrameRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetErrorFrameRequest.Builder setViewValue(int value)

Optional. An optional view mode to control the level of details for the frame. The default is a basic frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The enum numeric value on the wire for view to set.

Returns
TypeDescription
GetErrorFrameRequest.Builder

This builder for chaining.