Send feedback
Class Fail (0.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class Fail extends GeneratedMessageV3 implements FailOrBuilder
Message signifying that the stream failed to open
Protobuf type google.cloud.devicestreaming.v1.Fail
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Fail getDefaultInstance ()
Returns
Type
Description
Fail
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Fail . Builder newBuilder ()
newBuilder(Fail prototype)
public static Fail . Builder newBuilder ( Fail prototype )
Parameter
Name
Description
prototype
Fail
public static Fail parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Fail
public static Fail parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Fail
parseFrom(byte[] data)
public static Fail parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Fail
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Fail parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Fail
parseFrom(ByteString data)
public static Fail parseFrom ( ByteString data )
Returns
Type
Description
Fail
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Fail parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Fail
public static Fail parseFrom ( CodedInputStream input )
Returns
Type
Description
Fail
public static Fail parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Fail
public static Fail parseFrom ( InputStream input )
Returns
Type
Description
Fail
public static Fail parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Fail
parseFrom(ByteBuffer data)
public static Fail parseFrom ( ByteBuffer data )
Returns
Type
Description
Fail
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Fail parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Fail
parser()
public static Parser<Fail> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Fail getDefaultInstanceForType ()
Returns
Type
Description
Fail
getParserForType()
public Parser<Fail> getParserForType ()
Overrides
getReason()
public String getReason ()
A user-displayable failure reason.
string reason = 1;
Returns
Type
Description
String
The reason.
getReasonBytes()
public ByteString getReasonBytes ()
A user-displayable failure reason.
string reason = 1;
Returns
Type
Description
ByteString
The bytes for reason.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Fail . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Fail . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Fail . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[],[]]