public interface PolicyInputOrBuilder extends MessageOrBuilder
Implements
com.google.protobuf.MessageOrBuilderMethods
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;
Name | Description |
key | java.lang.String |
Type | Description |
boolean |
getBucket()
public abstract String getBucket()
string bucket = 4;
Type | Description |
java.lang.String | The bucket. |
getBucketBoundHostname()
public abstract String getBucketBoundHostname()
string bucketBoundHostname = 3;
Type | Description |
java.lang.String | The bucketBoundHostname. |
getBucketBoundHostnameBytes()
public abstract ByteString getBucketBoundHostnameBytes()
string bucketBoundHostname = 3;
Type | Description |
com.google.protobuf.ByteString | The bytes for bucketBoundHostname. |
getBucketBytes()
public abstract ByteString getBucketBytes()
string bucket = 4;
Type | Description |
com.google.protobuf.ByteString | The bytes for bucket. |
getConditions()
public abstract PolicyConditions getConditions()
.google.cloud.conformance.storage.v1.PolicyConditions conditions = 9;
Type | Description |
PolicyConditions | The conditions. |
getConditionsOrBuilder()
public abstract PolicyConditionsOrBuilder getConditionsOrBuilder()
.google.cloud.conformance.storage.v1.PolicyConditions conditions = 9;
Type | Description |
PolicyConditionsOrBuilder |
getExpiration()
public abstract int getExpiration()
int32 expiration = 6;
Type | Description |
int | The expiration. |
getFields()
public abstract Map<String,String> getFields()
Use #getFieldsMap() instead.
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
key | java.lang.String |
defaultValue | java.lang.String |
Type | Description |
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;
Name | Description |
key | java.lang.String |
Type | Description |
java.lang.String |
getObject()
public abstract String getObject()
string object = 5;
Type | Description |
java.lang.String | The object. |
getObjectBytes()
public abstract ByteString getObjectBytes()
string object = 5;
Type | Description |
com.google.protobuf.ByteString | The bytes for object. |
getScheme()
public abstract String getScheme()
http or https
string scheme = 1;
Type | Description |
java.lang.String | The scheme. |
getSchemeBytes()
public abstract ByteString getSchemeBytes()
http or https
string scheme = 1;
Type | Description |
com.google.protobuf.ByteString | The bytes for scheme. |
getTimestamp()
public abstract Timestamp getTimestamp()
.google.protobuf.Timestamp timestamp = 7;
Type | Description |
com.google.protobuf.Timestamp | The timestamp. |
getTimestampOrBuilder()
public abstract TimestampOrBuilder getTimestampOrBuilder()
.google.protobuf.Timestamp timestamp = 7;
Type | Description |
com.google.protobuf.TimestampOrBuilder |
getUrlStyle()
public abstract UrlStyle getUrlStyle()
.google.cloud.conformance.storage.v1.UrlStyle urlStyle = 2;
Type | Description |
UrlStyle | The urlStyle. |
getUrlStyleValue()
public abstract int getUrlStyleValue()
.google.cloud.conformance.storage.v1.UrlStyle urlStyle = 2;
Type | Description |
int | The enum numeric value on the wire for urlStyle. |
hasConditions()
public abstract boolean hasConditions()
.google.cloud.conformance.storage.v1.PolicyConditions conditions = 9;
Type | Description |
boolean | Whether the conditions field is set. |
hasTimestamp()
public abstract boolean hasTimestamp()
.google.protobuf.Timestamp timestamp = 7;
Type | Description |
boolean | Whether the timestamp field is set. |