Interface PolicyInputOrBuilder

Stay organized with collections Save and categorize content based on your preferences.
public interface PolicyInputOrBuilder extends MessageOrBuilder

Implements

com.google.protobuf.MessageOrBuilder

Methods

containsFields(String key)

public abstract boolean containsFields(String key)

fields with strict equivalence which are added into PolicyOutput.expectedDecodedPolicy to generate the signature. Expectations E.1: Order them in lexigraphical order so it's the signature can be verified across different language implementations.

map<string, string> fields = 8;

Parameter
NameDescription
keyjava.lang.String
Returns
TypeDescription
boolean

getBucket()

public abstract String getBucket()

string bucket = 4;

Returns
TypeDescription
java.lang.String

The bucket.

getBucketBoundHostname()

public abstract String getBucketBoundHostname()

string bucketBoundHostname = 3;

Returns
TypeDescription
java.lang.String

The bucketBoundHostname.

getBucketBoundHostnameBytes()

public abstract ByteString getBucketBoundHostnameBytes()

string bucketBoundHostname = 3;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for bucketBoundHostname.

getBucketBytes()

public abstract ByteString getBucketBytes()

string bucket = 4;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for bucket.

getConditions()

public abstract PolicyConditions getConditions()

.google.cloud.conformance.storage.v1.PolicyConditions conditions = 9;

Returns
TypeDescription
PolicyConditions

The conditions.

getConditionsOrBuilder()

public abstract PolicyConditionsOrBuilder getConditionsOrBuilder()

.google.cloud.conformance.storage.v1.PolicyConditions conditions = 9;

Returns
TypeDescription
PolicyConditionsOrBuilder

getExpiration()

public abstract int getExpiration()

int32 expiration = 6;

Returns
TypeDescription
int

The expiration.

getFields()

public abstract Map<String,String> getFields()

Use #getFieldsMap() instead.

Returns
TypeDescription
java.util.Map<java.lang.String,java.lang.String>

getFieldsCount()

public abstract int getFieldsCount()

fields with strict equivalence which are added into PolicyOutput.expectedDecodedPolicy to generate the signature. Expectations E.1: Order them in lexigraphical order so it's the signature can be verified across different language implementations.

map<string, string> fields = 8;

Returns
TypeDescription
int

getFieldsMap()

public abstract Map<String,String> getFieldsMap()

fields with strict equivalence which are added into PolicyOutput.expectedDecodedPolicy to generate the signature. Expectations E.1: Order them in lexigraphical order so it's the signature can be verified across different language implementations.

map<string, string> fields = 8;

Returns
TypeDescription
java.util.Map<java.lang.String,java.lang.String>

getFieldsOrDefault(String key, String defaultValue)

public abstract String getFieldsOrDefault(String key, String defaultValue)

fields with strict equivalence which are added into PolicyOutput.expectedDecodedPolicy to generate the signature. Expectations E.1: Order them in lexigraphical order so it's the signature can be verified across different language implementations.

map<string, string> fields = 8;

Parameters
NameDescription
keyjava.lang.String
defaultValuejava.lang.String
Returns
TypeDescription
java.lang.String

getFieldsOrThrow(String key)

public abstract String getFieldsOrThrow(String key)

fields with strict equivalence which are added into PolicyOutput.expectedDecodedPolicy to generate the signature. Expectations E.1: Order them in lexigraphical order so it's the signature can be verified across different language implementations.

map<string, string> fields = 8;

Parameter
NameDescription
keyjava.lang.String
Returns
TypeDescription
java.lang.String

getObject()

public abstract String getObject()

string object = 5;

Returns
TypeDescription
java.lang.String

The object.

getObjectBytes()

public abstract ByteString getObjectBytes()

string object = 5;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for object.

getScheme()

public abstract String getScheme()

http or https

string scheme = 1;

Returns
TypeDescription
java.lang.String

The scheme.

getSchemeBytes()

public abstract ByteString getSchemeBytes()

http or https

string scheme = 1;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for scheme.

getTimestamp()

public abstract Timestamp getTimestamp()

.google.protobuf.Timestamp timestamp = 7;

Returns
TypeDescription
com.google.protobuf.Timestamp

The timestamp.

getTimestampOrBuilder()

public abstract TimestampOrBuilder getTimestampOrBuilder()

.google.protobuf.Timestamp timestamp = 7;

Returns
TypeDescription
com.google.protobuf.TimestampOrBuilder

getUrlStyle()

public abstract UrlStyle getUrlStyle()

.google.cloud.conformance.storage.v1.UrlStyle urlStyle = 2;

Returns
TypeDescription
UrlStyle

The urlStyle.

getUrlStyleValue()

public abstract int getUrlStyleValue()

.google.cloud.conformance.storage.v1.UrlStyle urlStyle = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for urlStyle.

hasConditions()

public abstract boolean hasConditions()

.google.cloud.conformance.storage.v1.PolicyConditions conditions = 9;

Returns
TypeDescription
boolean

Whether the conditions field is set.

hasTimestamp()

public abstract boolean hasTimestamp()

.google.protobuf.Timestamp timestamp = 7;

Returns
TypeDescription
boolean

Whether the timestamp field is set.