public static final class CloudShellErrorDetails.Builder extends GeneratedMessageV3.Builder<CloudShellErrorDetails.Builder> implements CloudShellErrorDetailsOrBuilder
Cloud-shell specific information that will be included as details in failure
responses.
Protobuf type google.cloud.shell.v1.CloudShellErrorDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudShellErrorDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CloudShellErrorDetails build()
Returns
buildPartial()
public CloudShellErrorDetails buildPartial()
Returns
clear()
public CloudShellErrorDetails.Builder clear()
Returns
Overrides
clearCode()
public CloudShellErrorDetails.Builder clearCode()
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public CloudShellErrorDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudShellErrorDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CloudShellErrorDetails.Builder clone()
Returns
Overrides
getCode()
public CloudShellErrorDetails.CloudShellErrorCode getCode()
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Returns
getCodeValue()
public int getCodeValue()
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for code.
|
getDefaultInstanceForType()
public CloudShellErrorDetails getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CloudShellErrorDetails other)
public CloudShellErrorDetails.Builder mergeFrom(CloudShellErrorDetails other)
Parameter
Returns
public CloudShellErrorDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CloudShellErrorDetails.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudShellErrorDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCode(CloudShellErrorDetails.CloudShellErrorCode value)
public CloudShellErrorDetails.Builder setCode(CloudShellErrorDetails.CloudShellErrorCode value)
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Parameter
Returns
setCodeValue(int value)
public CloudShellErrorDetails.Builder setCodeValue(int value)
Code indicating the specific error the occurred.
.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for code to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CloudShellErrorDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudShellErrorDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudShellErrorDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides