Class PolicyOutput.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static final class PolicyOutput.Builder extends GeneratedMessageV3.Builder<PolicyOutput.Builder> implements PolicyOutputOrBuilder

Protobuf type google.cloud.conformance.storage.v1.PolicyOutput

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > com.google.protobuf.GeneratedMessageV3.Builder > PolicyOutput.Builder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PolicyOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
valuejava.lang.Object
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

build()

public PolicyOutput build()
Returns
TypeDescription
PolicyOutput

buildPartial()

public PolicyOutput buildPartial()
Returns
TypeDescription
PolicyOutput

clear()

public PolicyOutput.Builder clear()
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clear()

clearExpectedDecodedPolicy()

public PolicyOutput.Builder clearExpectedDecodedPolicy()

string expectedDecodedPolicy = 3;

Returns
TypeDescription
PolicyOutput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PolicyOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor)

clearFields()

public PolicyOutput.Builder clearFields()
Returns
TypeDescription
PolicyOutput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PolicyOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofcom.google.protobuf.Descriptors.OneofDescriptor
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)

clearUrl()

public PolicyOutput.Builder clearUrl()

string url = 1;

Returns
TypeDescription
PolicyOutput.Builder

This builder for chaining.

clone()

public PolicyOutput.Builder clone()
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clone()

containsFields(String key)

public boolean containsFields(String key)

Expectations E.1: PolicyInput.fields must be prepended to form expectedDecodedPolicy for consistent result across languages. Ordering doesn't matter to the service but the decision is made to make it easier to conform implementations in implementation. Example:

Step 1

PolicyInput.fields has: { "content-disposition":"attachment; filename="~._-%=/é0Aa"", "content-encoding":"gzip", "content-type":"text/plain", "success_action_redirect":"http://www.google.com/" }

Step 2

The expectedDecodedPolicy before prepending the PolicyInput.fields would look like this: { "conditions":[ ...prepend here in the same order provided in PolicyInput.fields... {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

Step 3

Then expectedDecodedPolicy should prepends PolicyInput.fields in the same order to PolicyOutput.expectedDecodedPolicy conditions key. { "conditions":[ {"content-disposition":"attachment; filename="~._-%=/é0Aa""}, {"content-encoding":"gzip"}, {"content-type":"text/plain"}, {"success_action_redirect":"http://www.google.com/"}, {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

map<string, string> fields = 2;

Parameter
NameDescription
keyjava.lang.String
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public PolicyOutput getDefaultInstanceForType()
Returns
TypeDescription
PolicyOutput

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.getDescriptorForType()

getExpectedDecodedPolicy()

public String getExpectedDecodedPolicy()

string expectedDecodedPolicy = 3;

Returns
TypeDescription
java.lang.String

The expectedDecodedPolicy.

getExpectedDecodedPolicyBytes()

public ByteString getExpectedDecodedPolicyBytes()

string expectedDecodedPolicy = 3;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for expectedDecodedPolicy.

getFields()

public Map<String,String> getFields()

Use #getFieldsMap() instead.

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

getFieldsCount()

public int getFieldsCount()

Expectations E.1: PolicyInput.fields must be prepended to form expectedDecodedPolicy for consistent result across languages. Ordering doesn't matter to the service but the decision is made to make it easier to conform implementations in implementation. Example:

Step 1

PolicyInput.fields has: { "content-disposition":"attachment; filename="~._-%=/é0Aa"", "content-encoding":"gzip", "content-type":"text/plain", "success_action_redirect":"http://www.google.com/" }

Step 2

The expectedDecodedPolicy before prepending the PolicyInput.fields would look like this: { "conditions":[ ...prepend here in the same order provided in PolicyInput.fields... {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

Step 3

Then expectedDecodedPolicy should prepends PolicyInput.fields in the same order to PolicyOutput.expectedDecodedPolicy conditions key. { "conditions":[ {"content-disposition":"attachment; filename="~._-%=/é0Aa""}, {"content-encoding":"gzip"}, {"content-type":"text/plain"}, {"success_action_redirect":"http://www.google.com/"}, {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

map<string, string> fields = 2;

Returns
TypeDescription
int

getFieldsMap()

public Map<String,String> getFieldsMap()

Expectations E.1: PolicyInput.fields must be prepended to form expectedDecodedPolicy for consistent result across languages. Ordering doesn't matter to the service but the decision is made to make it easier to conform implementations in implementation. Example:

Step 1

PolicyInput.fields has: { "content-disposition":"attachment; filename="~._-%=/é0Aa"", "content-encoding":"gzip", "content-type":"text/plain", "success_action_redirect":"http://www.google.com/" }

Step 2

The expectedDecodedPolicy before prepending the PolicyInput.fields would look like this: { "conditions":[ ...prepend here in the same order provided in PolicyInput.fields... {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

Step 3

Then expectedDecodedPolicy should prepends PolicyInput.fields in the same order to PolicyOutput.expectedDecodedPolicy conditions key. { "conditions":[ {"content-disposition":"attachment; filename="~._-%=/é0Aa""}, {"content-encoding":"gzip"}, {"content-type":"text/plain"}, {"success_action_redirect":"http://www.google.com/"}, {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

map<string, string> fields = 2;

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

getFieldsOrDefault(String key, String defaultValue)

public String getFieldsOrDefault(String key, String defaultValue)

Expectations E.1: PolicyInput.fields must be prepended to form expectedDecodedPolicy for consistent result across languages. Ordering doesn't matter to the service but the decision is made to make it easier to conform implementations in implementation. Example:

Step 1

PolicyInput.fields has: { "content-disposition":"attachment; filename="~._-%=/é0Aa"", "content-encoding":"gzip", "content-type":"text/plain", "success_action_redirect":"http://www.google.com/" }

Step 2

The expectedDecodedPolicy before prepending the PolicyInput.fields would look like this: { "conditions":[ ...prepend here in the same order provided in PolicyInput.fields... {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

Step 3

Then expectedDecodedPolicy should prepends PolicyInput.fields in the same order to PolicyOutput.expectedDecodedPolicy conditions key. { "conditions":[ {"content-disposition":"attachment; filename="~._-%=/é0Aa""}, {"content-encoding":"gzip"}, {"content-type":"text/plain"}, {"success_action_redirect":"http://www.google.com/"}, {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

map<string, string> fields = 2;

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

getFieldsOrThrow(String key)

public String getFieldsOrThrow(String key)

Expectations E.1: PolicyInput.fields must be prepended to form expectedDecodedPolicy for consistent result across languages. Ordering doesn't matter to the service but the decision is made to make it easier to conform implementations in implementation. Example:

Step 1

PolicyInput.fields has: { "content-disposition":"attachment; filename="~._-%=/é0Aa"", "content-encoding":"gzip", "content-type":"text/plain", "success_action_redirect":"http://www.google.com/" }

Step 2

The expectedDecodedPolicy before prepending the PolicyInput.fields would look like this: { "conditions":[ ...prepend here in the same order provided in PolicyInput.fields... {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

Step 3

Then expectedDecodedPolicy should prepends PolicyInput.fields in the same order to PolicyOutput.expectedDecodedPolicy conditions key. { "conditions":[ {"content-disposition":"attachment; filename="~._-%=/é0Aa""}, {"content-encoding":"gzip"}, {"content-type":"text/plain"}, {"success_action_redirect":"http://www.google.com/"}, {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

map<string, string> fields = 2;

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

getMutableFields()

public Map<String,String> getMutableFields()

Use alternate mutation accessors instead.

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

getUrl()

public String getUrl()

string url = 1;

Returns
TypeDescription
java.lang.String

The url.

getUrlBytes()

public ByteString getUrlBytes()

string url = 1;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for url.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable()

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapField
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapField(int)

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapField
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapField(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.isInitialized()

mergeFrom(PolicyOutput other)

public PolicyOutput.Builder mergeFrom(PolicyOutput other)
Parameter
NameDescription
otherPolicyOutput
Returns
TypeDescription
PolicyOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PolicyOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputcom.google.protobuf.CodedInputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
Exceptions
TypeDescription
java.io.IOException

mergeFrom(Message other)

public PolicyOutput.Builder mergeFrom(Message other)
Parameter
NameDescription
othercom.google.protobuf.Message
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PolicyOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldscom.google.protobuf.UnknownFieldSet
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet)

putAllFields(Map<String,String> values)

public PolicyOutput.Builder putAllFields(Map<String,String> values)

Expectations E.1: PolicyInput.fields must be prepended to form expectedDecodedPolicy for consistent result across languages. Ordering doesn't matter to the service but the decision is made to make it easier to conform implementations in implementation. Example:

Step 1

PolicyInput.fields has: { "content-disposition":"attachment; filename="~._-%=/é0Aa"", "content-encoding":"gzip", "content-type":"text/plain", "success_action_redirect":"http://www.google.com/" }

Step 2

The expectedDecodedPolicy before prepending the PolicyInput.fields would look like this: { "conditions":[ ...prepend here in the same order provided in PolicyInput.fields... {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

Step 3

Then expectedDecodedPolicy should prepends PolicyInput.fields in the same order to PolicyOutput.expectedDecodedPolicy conditions key. { "conditions":[ {"content-disposition":"attachment; filename="~._-%=/é0Aa""}, {"content-encoding":"gzip"}, {"content-type":"text/plain"}, {"success_action_redirect":"http://www.google.com/"}, {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

map<string, string> fields = 2;

Parameter
NameDescription
valuesjava.util.Map<java.lang.String,java.lang.String>
Returns
TypeDescription
PolicyOutput.Builder

putFields(String key, String value)

public PolicyOutput.Builder putFields(String key, String value)

Expectations E.1: PolicyInput.fields must be prepended to form expectedDecodedPolicy for consistent result across languages. Ordering doesn't matter to the service but the decision is made to make it easier to conform implementations in implementation. Example:

Step 1

PolicyInput.fields has: { "content-disposition":"attachment; filename="~._-%=/é0Aa"", "content-encoding":"gzip", "content-type":"text/plain", "success_action_redirect":"http://www.google.com/" }

Step 2

The expectedDecodedPolicy before prepending the PolicyInput.fields would look like this: { "conditions":[ ...prepend here in the same order provided in PolicyInput.fields... {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

Step 3

Then expectedDecodedPolicy should prepends PolicyInput.fields in the same order to PolicyOutput.expectedDecodedPolicy conditions key. { "conditions":[ {"content-disposition":"attachment; filename="~._-%=/é0Aa""}, {"content-encoding":"gzip"}, {"content-type":"text/plain"}, {"success_action_redirect":"http://www.google.com/"}, {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

map<string, string> fields = 2;

Parameters
NameDescription
keyjava.lang.String
valuejava.lang.String
Returns
TypeDescription
PolicyOutput.Builder

removeFields(String key)

public PolicyOutput.Builder removeFields(String key)

Expectations E.1: PolicyInput.fields must be prepended to form expectedDecodedPolicy for consistent result across languages. Ordering doesn't matter to the service but the decision is made to make it easier to conform implementations in implementation. Example:

Step 1

PolicyInput.fields has: { "content-disposition":"attachment; filename="~._-%=/é0Aa"", "content-encoding":"gzip", "content-type":"text/plain", "success_action_redirect":"http://www.google.com/" }

Step 2

The expectedDecodedPolicy before prepending the PolicyInput.fields would look like this: { "conditions":[ ...prepend here in the same order provided in PolicyInput.fields... {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

Step 3

Then expectedDecodedPolicy should prepends PolicyInput.fields in the same order to PolicyOutput.expectedDecodedPolicy conditions key. { "conditions":[ {"content-disposition":"attachment; filename="~._-%=/é0Aa""}, {"content-encoding":"gzip"}, {"content-type":"text/plain"}, {"success_action_redirect":"http://www.google.com/"}, {"bucket":"bucket-name"}, {"key":"test-object"}, {"x-goog-date":"20200123T043530Z"}, {"x-goog-credential":"test-iam-credentials@dummy-project-id.iam.gserviceaccount.com/20200123/auto/storage/goog4_request"}, {"x-goog-algorithm":"GOOG4-RSA-SHA256"} ], "expiration":"2020-01-23T04:35:40Z" }

map<string, string> fields = 2;

Parameter
NameDescription
keyjava.lang.String
Returns
TypeDescription
PolicyOutput.Builder

setExpectedDecodedPolicy(String value)

public PolicyOutput.Builder setExpectedDecodedPolicy(String value)

string expectedDecodedPolicy = 3;

Parameter
NameDescription
valuejava.lang.String

The expectedDecodedPolicy to set.

Returns
TypeDescription
PolicyOutput.Builder

This builder for chaining.

setExpectedDecodedPolicyBytes(ByteString value)

public PolicyOutput.Builder setExpectedDecodedPolicyBytes(ByteString value)

string expectedDecodedPolicy = 3;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes for expectedDecodedPolicy to set.

Returns
TypeDescription
PolicyOutput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PolicyOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
valuejava.lang.Object
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PolicyOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
indexint
valuejava.lang.Object
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setUnknownFields(UnknownFieldSet unknownFields)

public final PolicyOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldscom.google.protobuf.UnknownFieldSet
Returns
TypeDescription
PolicyOutput.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet)

setUrl(String value)

public PolicyOutput.Builder setUrl(String value)

string url = 1;

Parameter
NameDescription
valuejava.lang.String

The url to set.

Returns
TypeDescription
PolicyOutput.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public PolicyOutput.Builder setUrlBytes(ByteString value)

string url = 1;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes for url to set.

Returns
TypeDescription
PolicyOutput.Builder

This builder for chaining.