Class PreviewResult (0.12.0)

public final class PreviewResult extends GeneratedMessageV3 implements PreviewResultOrBuilder

Contains a signed Cloud Storage URLs.

Protobuf type google.cloud.config.v1.PreviewResult

Static Fields

BINARY_SIGNED_URI_FIELD_NUMBER

public static final int BINARY_SIGNED_URI_FIELD_NUMBER
Field Value
TypeDescription
int

JSON_SIGNED_URI_FIELD_NUMBER

public static final int JSON_SIGNED_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PreviewResult getDefaultInstance()
Returns
TypeDescription
PreviewResult

getDescriptor()

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

newBuilder()

public static PreviewResult.Builder newBuilder()
Returns
TypeDescription
PreviewResult.Builder

newBuilder(PreviewResult prototype)

public static PreviewResult.Builder newBuilder(PreviewResult prototype)
Parameter
NameDescription
prototypePreviewResult
Returns
TypeDescription
PreviewResult.Builder

parseDelimitedFrom(InputStream input)

public static PreviewResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreviewResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PreviewResult parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreviewResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreviewResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreviewResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreviewResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreviewResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PreviewResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreviewResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PreviewResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreviewResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreviewResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PreviewResult> parser()
Returns
TypeDescription
Parser<PreviewResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBinarySignedUri()

public String getBinarySignedUri()

Output only. Plan binary signed URL

string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The binarySignedUri.

getBinarySignedUriBytes()

public ByteString getBinarySignedUriBytes()

Output only. Plan binary signed URL

string binary_signed_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for binarySignedUri.

getDefaultInstanceForType()

public PreviewResult getDefaultInstanceForType()
Returns
TypeDescription
PreviewResult

getJsonSignedUri()

public String getJsonSignedUri()

Output only. Plan JSON signed URL

string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The jsonSignedUri.

getJsonSignedUriBytes()

public ByteString getJsonSignedUriBytes()

Output only. Plan JSON signed URL

string json_signed_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for jsonSignedUri.

getParserForType()

public Parser<PreviewResult> getParserForType()
Returns
TypeDescription
Parser<PreviewResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PreviewResult.Builder newBuilderForType()
Returns
TypeDescription
PreviewResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreviewResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PreviewResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PreviewResult.Builder toBuilder()
Returns
TypeDescription
PreviewResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException